Ask for approval script for multiple user in flow designer

thanuja thanuja
Tera Contributor

Hi Community,

 

I have 4 approvers in RITM level the approvals to one and one

Can we write the script in the ask for approval?

Example: 1. Requested for Manager

2. Abel tutor

3. Andrews

4.noel

so, here 1stapproval send to Requested for Manager. after requested for manager approves the request next approval trigger to Abel tutor like that we want to send approvals

and one more is any Approver is inactive then their approval send the inactive approver's managers

for this scenario can we write the script in ask for approval 

 

Thanks,

Thanuja

 

14 REPLIES 14

Why don't you build a list of approvers' sys ids?  Then use the list in an 'Ask for Approval' action.  If you need all the approvals to be approved, set the approval rule to be that.

You can send out all the approvals all at once that way, they just might not be approved in a certain order

Hi @Marcus Walbridg 

    As per my requirement do not send approvals at a time 

Thanks,

Thanuja

Can you obtain the bulk of your approvers doing a Look up Records action, then loop through that list and ask for approval one at a time using For Each?

thanuja thanuja
Tera Contributor

I need a flow designer script for IF requested for manager is inactive send approval to requested for manager's manager approval. Else send approval to requested for manager @Marcus Walbridg @Vasu ch @Luxo Nadappan 

This doesn't really need to be a script.  You could handle this with an if else branch.

If requester for manager manager is active, ask for approval

else ask for approval to the manager.

You can dot walk the manager manager via pill picker