How to get minimum two approvals from TAB group and if the group contains single user one approval

sivakumar_raman
Tera Contributor

Hi All,

 

We got a requirement to automate TAB approval process, part of this we have to get minimum two approvals from TAB group and suppose if the TAB group contains only one use than one approval is sufficient for TAB approval process.

Please suggest a best way to implement this scenario.

 

Thanks,

Sivakumar Raman

3 REPLIES 3

Mark Manders
Mega Patron

I think you will need to customize this because the option isn't there OOB. You could just use your normal way of setting approvals, only not approve/reject in the standard way (by the way: how are you handling rejections)?

In a flow: when an approval is given, lookup other approval records. If none: approve, if others, check on their status. If at least one other is approved, approve, if not, do nothing.
You could also write the logic in a BR on the approval record: If approved, find other approvals related to the same record and check on their status. If none are approved, do nothing. If one is, approve.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

sivakumar_raman
Tera Contributor

We tried this below script , but this is not working for the groups contain single user to approve.

sivakumar_raman_0-1708594568495.png

Any other script to allow both single user group approval and two user approvals in multi user group.

Mark Manders
Mega Patron

As I said: you will need to create your own custom approval functionality. Create the approval records and then either a new flow, or a subflow that needs to wait for completion, before your flow can go on.
Or do it via BR's, and continue your flow when the task is approved. 

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark