How to Reset Flow Designer flow when approvers are changed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 01:54 PM - edited 10-11-2022 02:49 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 02:54 AM - edited 10-12-2022 02:58 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 07:00 AM