cancel
Showing results for 
Search instead for 
Did you mean: 

Terminate/end flow

I would love the ability to terminate flow with an action.

Status: New
Comments

Hi @eddysun,

 

Sure:

1. Declare a variable like 'Approved' which is set by default to 'Approved'

2. In the approval loop, first check if this variable is set to 'Approved'.

3. In 'If Yes' branch, build your approval business logic and check response, if someone rejected then set 'Approved' variable to 'Rejected'.

4. In 'If No' branch, do nothing - it will literally skip all further approvers if any of the approvers rejected once.

 

Refer to the picture below, I skipped all the business logic and left only critical parts.

Hope it helps. 
Skip approver.PNG

This is not the best solution although as it will iterate through all approvers anyway, but it works.

Hope it helps, let me know if any questions you have.

 

Cheers.

Super User

This is much needed to control approval flows. Just letting them time out is not a good approach 

Level: Power Up

@Pavel_Sheludkov How have you done that "send email with options"? I can see that in your screenshot...

Hi @luju 

 

There is an action called 'Send email with options' within the Office 365 Outlook connector. 

 

Cheers

Level: Power Up

@Pavel_Sheludkov 

Great - thanks. Haven't found that thing before...