cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver III
Resolver III

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
Highlighted
Resolver III
Resolver III

Re: Do until with Get Items

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

View solution in original post

4 REPLIES 4
Highlighted
Post Prodigy
Post Prodigy

Re: Do until with Get Items

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

Highlighted
Community Support
Community Support

Re: Do until with Get Items

 
Highlighted
Community Support
Community Support

Re: Do until with Get Items

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.

Highlighted
Resolver III
Resolver III

Re: Do until with Get Items

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

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,418)