cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Victoria Advocate V
Advocate V

is it possible to have recurrance flow work on a single list item

Hi, I have a SP list for my staff to set their work status via a PowerApp. I have a flow resetting all staff's work status to 'away' at 6pm nightly. I need a flow to set one member of staff's status (ie one list item) to 'working remotely' at 9am Wed, Thurs, Fri only. I have the status selections in a sp choice column.

I can use a recurrance flow for the trigger but I need a way to isolate one item in the list. I do not want all the other items/staff included in the flow. 

 

I've got as far as this... but I think I must be missing something?! There must be a way to do this. How can I find the id of the list item?

Hub.pngHub1.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: is it possible to have recurrance flow work on a single list item

Hi @Victoria 

Thank you for your post.

 

In order to target just one user you would use an Odata filter on your "Get items" to target the user.

Please consider my example below:

 

List:Capture-558.png

Here is a Flow that is inline with yours ...Capture-559.png

With out the filter, it returns every item in the list, the output is below:Capture-560.png

I then add the filter below, in line with my naming convention.Capture-561.png

This returns just the AssignedUser (Assigned_x0020_User) that matches "User 8".

If you apply the same logic to your process, you can target the one user.

 

Where I have used:

Assigned_x0020_User eq 'User8'

You will use something like:

StaffMember eq 'Rachel'

perhaps ...

 

So I hope this helps you on you way and starts you off witha filter on a list.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

3 REPLIES 3
Super User
Super User

Re: is it possible to have recurrance flow work on a single list item

Hi @Victoria 

Thank you for your post.

 

In order to target just one user you would use an Odata filter on your "Get items" to target the user.

Please consider my example below:

 

List:Capture-558.png

Here is a Flow that is inline with yours ...Capture-559.png

With out the filter, it returns every item in the list, the output is below:Capture-560.png

I then add the filter below, in line with my naming convention.Capture-561.png

This returns just the AssignedUser (Assigned_x0020_User) that matches "User 8".

If you apply the same logic to your process, you can target the one user.

 

Where I have used:

Assigned_x0020_User eq 'User8'

You will use something like:

StaffMember eq 'Rachel'

perhaps ...

 

So I hope this helps you on you way and starts you off witha filter on a list.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

Victoria Advocate V
Advocate V

Re: is it possible to have recurrance flow work on a single list item

Hi Alan,

Many thanks for your help. It's good to know about the filter. I have had a partial success.
Although my flow now says it is successful and I am the getting confirmation email, the Staff Status column value hasn't actually changed in my list. It's still set to 'Away' rather than 'Working Remotely'.

The next stage of my flow is an 'apply to each' as I read you could use this for a single item? And then 'update item'.
Hub1.png

 

Have I missed something?

Kind regards, Vicki

 

 

Victoria Advocate V
Advocate V

Re: is it possible to have recurrance flow work on a single list item

Ignore that I missed the info further down.. sorry .. it wasn't in the email. 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,332)