cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Responsive Resident
Responsive Resident

Do until with Get Items

Hi guys,

 

trying to do something like a simple ticketing system where (in a SPO List) if user changes an item to DONE (in column STATUS) the flow should continue... i found nice idea that i could do "do until" Status = Done... but somehow wont work... the guide suggest quite logically that in the loop i must use getitems to check if the column value is already DONE... but i get always an error... guide is here.

 

Sifu_0-1600194462986.png

ERROR I get when i try to use the status from GetItems within the loop:

Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Apply_to_each' at line '1 and column '7037' cannot reference action 'Get_items'. Action 'Get_items' must either be in 'runAfter' path or within a scope action on the 'runAfter' path of action 'Apply_to_each', or be a Trigger.'.'.

 

I either need to fix this or an alternative idea (how to wait until the value changes to "done")

1 ACCEPTED SOLUTION

Accepted Solutions
Responsive Resident
Responsive Resident

hey, thanks but in the mean time i resolved it with an variable

View solution in original post

4 REPLIES 4
Super User
Super User

What is the trigger of this flow? Can you write a flow on modified?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community
Community Support
Community Support

 
Community Support
Community Support

Hi @Sifu ,

 

I'm afraid that you have added the wrong action "Get items", please take a try to replace the "Get items" action with the "Get item" action in your flow.

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Responsive Resident
Responsive Resident

hey, thanks but in the mean time i resolved it with an variable

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (68,350)