cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
leyburn19
Memorable Member
Memorable Member

How does the terminate action work?

Can any one give insight into how the terminate action works.  I want to terminate a flow after a time out as I currently get a flow fail

 

There is no documentation or help that I can find yet

3 REPLIES 3
manuelstgomes
Super User
Super User

HI @leyburn19 ,

 

Hum, don't know if I understand this correctly. 

 

Terminate will stop the Flow immediately with the status defined in action. If you're getting a timeout, the Flow is ending anyway with a failure message.

 

Sorry if this is not what you need, but please provide more information, and I'll be happy to help you solve this issue.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

yashag2255
Dual Super User II
Dual Super User II

Hey @leyburn19 

 

Can you share more details in regard to the context that you are using the terminate action in your flow?

 

Basically the terminate action ends the flow at that particular point with the option and status that you select for the action. When using configure run after a failed step in the flow, it is recommended to have the terminate action and terminate the flow as successful at the end of this branch that is supposed to run when the action was failed. The terminate action cannot be used inside an apply to each loop. 

 

If you can share more details, we might be able to assist you better. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Thank you.  I see what I needed to do based on comments supplied here.  I was expecting the terminate to give me a successful flow after a time out occurrence.  Not so.  It does when based on a condition.  In my case which was a test I had a send email with options with a simple 2 min time out to test.  I put a branch in with a terminate that ran if the email timed out.  It still gives the failed message as pointed out in responses.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,829)