How to Reset Flow Designer flow when approvers are changed

Nirmala B1
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

6 REPLIES 6

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

 

Sails
ServiceNow Consultant
United Kingdom

Nirmala B1
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.