How to Reset Flow Designer flow when approvers are changed

nirmalabose
Tera Contributor

Hi, I need to reset the whole flow designer flow when there is a change in Approver.
Based on a User reference field and state, triggering an approval flow through Flow Designer.

Need help in how to cancel the previous "Ask for Approval" request and resend a New "Ask for Approval" to new approver

7 REPLIES 7

Hi,

I suggest writing an On Before Business rule [sysapproval_approver] before the approval record is created and check for the similar [previous] pending approval request and cancel it.

Anyways after submission you'll have new request sent to the right approver.

 

Alternatively, you can achieve the same using flow designer. do a lookup of the records on the sysapproval table, find the prev record, cancel it & have the new CreateApproval action

Note this might have some performance impact. Do thorough testing.

 

Regards

 

BilalAliZ
Giga Contributor

Hi Mike,

We have encountered an issue where a Risk Assessment approval bypassed the configured intermediate approval levels and was routed to an unintended approver.

The approval is currently in Requested status. Is there a supported method to withdraw/cancel the existing approval and re-trigger the workflow with the correct approval routing, without any action from the unintended approver?

Thanks in advance for your guidance.

 

nirmalabose
Tera Contributor

@Mike_R and @Sails : Thank you for your time and response. I thought to give a UI action once they complete the work. User click on send to approval and the freezes the form.