Any way to update an approver then restart the Ask for Approval step in a Flow Designer Flow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2022 08:44 AM - edited ‎11-16-2022 01:44 PM
We have a Flow Designer flow that is triggered on creation of a Legal Request. One of the steps in the flow is to Ask for Approval from the Requested For's manager. We have had a few instances where the user's manager has become inactive after the approval record is created. Is there a way for me to restart this specific step in the Flow so that it goes out and gets the new approver and creates an approval task? After that, the rest of the flow needs to progress as usual.
What happens to the original approval task - can we delete it?
I know there is a FlowAPI I can use and that someone will point me to that documentation. I am still fairly new to Flow Designer and scripting so I'm having a hard time determining from that documentation which pieces I need to be able to do what I need, or if it's even possible. Thank you!
Edited to clarify when the flow was triggered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2022 04:38 PM
Hi,
Do you have the replacement approver user of the deactivated approver?
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2022 06:29 AM
Hi Saurabh - Thank you for your time. Yes, I have already updated the Requested For's users record with his new Manager (manager field). The direct manager is the approver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2022 06:48 AM
Hi @Amy V2 ,
For such scenarios, you can just write BR on sys_user when changed to active false and replace the approver with new manager.
Regards,
Saurabh
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2022 06:55 AM
Thanks. In my current scenario, the approver user changed to Active = False 2 months ago and we didn't catch that our SCIM data push wasn't updating the manager fields. The flow has already started and created an approval record for the inactive manager. My issue is that I need to update the approval record to show the new manager, and then continue the flow... meaning, the Flow can't be waiting on the original approver to approve, as they no longer work here.