cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fikyf
Helper I
Helper I

Get values when compare two column by Contains value

Hi, I build powerapps using sharepoint list. I want to record the person who not read my request/not accessed the list. 

  1. I have column named "Assigned to" and I will choose the person who will receive my request (more than one)
  2. In Gallery, I set the Patch by "On Select" to record the person who accessed the list, it will update my column named "Log History" with the people who accessed the list

Here is my patch :

Set(
varRecord,
ThisItem
);
Patch(
'DDF List Upload',
varRecord,
{'Log History': varRecord.'Log History' & "Read " & User().Email & " " & Now() & " " & Char(13)}

 here's my record

fikyf_0-1630375057361.png

Then what I need to; I want to have the record of the assigned person who not accessed the file, because I want to send the reminder using Flow.

 

Can anyone have any idea please? 

4 REPLIES 4
Ashwin7104
Super User
Super User

Hey @fikyf - Rather than storing accessible data in a column, I suggest putting it in a separate list called 'Log History.'

 

Log List:

Parent IDCreated By*Created*
ThisItem.IDUser18/31/2021

* You can reuse out of the box Created By and Created column to record user and timestamp

 

Then cycle through the allocated people, filter the log list to match the name and Parent ID, and send a reminder email if it isn't found.

fikyf
Helper I
Helper I

Hi @Ashwin7104 ,

 

Thanks for the advice. Sorry, I still don't get it, I already have the record list in gallery

fikyf_0-1630384272163.png

Here's my workflow :

  1. User created request to some people in PowerApps
  2. Flow will send to that assigned person by email notification, and in that email, the assigned person will receive the link to PowerApps
  3. Assigned person accessed PowerApps and click their list in gallery, it will bring them to detail screen
  4. User can check person who accessed the list (by setup patch on select) then it will update the record in column "log history"

What I want is to have a list record of person who not accessed the list in certain time then I would like to create a reminder email in Flow

 

PG_WorXz10
Resident Rockstar
Resident Rockstar

Hi @fikyf ,

 

From your requirement rather than adding listing record of persons who not accessed the list in certain time you can check if the assigned users name/email is present in the log field after your timelimit if not you can trigger the flow. 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Hi @PG_WorXz10 ,

 

Thank you for the advice, I think the same idea with you before, but I don't know how to set the formula.

Can you give me the advice with the suggested flow or picture?

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,085)