Flow Designer: “All must approve” & “anyone rejects → RITM rejected” using ApprovesAllU[...]

BiswalNayak
Tera Contributor

var approvers = fd_data.flow_var.groupmanager; 

return "ApprovesAllU[" + approvers + "]";

 

This correctly enforces all approvers must approve before proceeding. I also need: if anyone rejects, the flow should go to the reject branch and reject the RITM. Here the reject branch is not working. So, what is the solution to work both of the conditions ?

1 ACCEPTED SOLUTION

Anand2799
Kilo Sage

Hi @BiswalNayak ,

 

You can configure this as per the below screenshot:

Anand2799_0-1768233333882.png

 

Or if want to use script:

"ApprovesAllU[" + approvers + "]OrRejectsAnyU[" + approvers + "]";

 

Thanks

Anand 

View solution in original post

5 REPLIES 5

Hi @BiswalNayak ,

 

If my response helped you solve your query mark this as correct/helpful.