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-17-2022 07:25 AM
Hi, you can update approval task with new manager and mark approval field of task (any table like ritm, sctask etc) as approved once new manager approved the task. It will work.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2022 08:26 AM
Thank you Saurabh. Do you have a script example for doing that?