The CreatorCon Call for Content is officially open! Get started here.

sequintial approvals based on if statement selection

Bradley Bush
Mega Sage

Hi, I have a catalog item with 12 variables. When 2 of these variables are selected one approval group gets a request to approve. The other 10 variables are assigned to a different approval group. The problem I'm having is the workflow will run based on one group approving when both approvals are needed and a sctask is generated. If both are required, I need the sctask to wait for both approvals.

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

This is hard to interpret with lines overlapping and crossing behind activities.  Consider combining the If and Approval activities by using the When to run section in the Approval - Group activity if possible, and/or combining the approvals into one activity by conditionally pushing both group sys_ids to the answer in the Advanced script, then setting the Condition for approval to Wait for "An approval from each group".  Otherwise, you could also try to incorporate a Join activity that waits for both paths to reach it before continuing. 

View solution in original post

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

This is hard to interpret with lines overlapping and crossing behind activities.  Consider combining the If and Approval activities by using the When to run section in the Approval - Group activity if possible, and/or combining the approvals into one activity by conditionally pushing both group sys_ids to the answer in the Advanced script, then setting the Condition for approval to Wait for "An approval from each group".  Otherwise, you could also try to incorporate a Join activity that waits for both paths to reach it before continuing. 

Bradley Bush
Mega Sage

thank you for the help, a join did the trick:)