Any way to update an approver then restart the Ask for Approval step in a Flow Designer Flow?

Amy V2
Mega Sage

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.

6 REPLIES 6

Saurabh Gupta
Kilo Patron
Kilo Patron

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

Thank you Saurabh. Do you have a script example for doing that?