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 II
Super User II

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,283)