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

I already used IF Else conditions only but i want to reduce the steps for if if else condition i'm getting 6 actions. so if i use rule script then i will reduce more steps.

Seems like bad practice, you could make a sub flow to keep steps down

Yeah but i need help in sub flow for  what we to add input and output

Example I want so 4 - 5 users approvals if priority is HIGH 

The Priority filed is catalog item variable 

Based on priority we want to send approval. In that case what we add in INPUT and OUPUT for subflow 

I have added reference typpe table is sc_req_item table

You only need to pass in what is required to drive your approval process, I imagine it would be the Requested For, the RITM, and your priority.  The rest you can get/do in your sub flow. 

 

You can return the approval state OR likely set the RITM to approved & have no output.

Understand @Marcus Walbridg . Is there any roll back option in flow designer

Example: i want send 4 approvals one and one so if any approver rejects RITM will be canceled. For that every ask for approval if rejeceted I updated the RITM state is canceled.  for this situation can we add one update record action if anyone rejects then the action roll back update record condition.