require 1x approval from one group and 2x approval from another

FusiFusionWorld
Giga Contributor

Hey All,

Simple one for you (not for me though...)

I have a requirement to have 3 x approvals total for a change request to be approved but 2 of these approvals must come from 1 group the remaining 1 from another group.

In this particular instance there are 2 x approval groups included and currently we have the worklfow set to 1 approval from each group. I know how to use a condition based script to set the requirement to 3x approvals but not how to specify that 2x need to come from one particular group.

Hope somebody can help!

Thank you!

Ben,

1 ACCEPTED SOLUTION

Fabian Kunzke
Kilo Sage
Kilo Sage

Hey,

I would use three different approval-activities for this. In that case, use the "Branch" action to split up into three "group approvals". Then set each approval action up as you need. Each "Approve" path for those approvals should then be joined in a "Join" action. This way your workflow will wait at the "Join" action for all the approvals to be approved (in this case 3).

Hope this helps.

Regards

Fabian

View solution in original post

12 REPLIES 12

Hi Fabian et al,

This isn't working, I set a branch with a group approval and a user approval (user approval set to group members and requires x 2 approvals) then joined the branches up to the approved and rejected actions in the workflow.

The group approval (requires 1 x approval) works and sets other approvers to "no longer required" after one person approves but the User approval does not set as approved after x 2 have approved, even after all of the people in the group approved it still sits at approval requested.

any ideas?

 

Hey,

can you add a screenshots of your workflow? It would help me check the setup and see what seems to be wrong.

Regards

Fabian

i'm so confused, Ok I have the approval part of the workflow working now, when the condition is met the change moves to approved after 1 x approval from 1 group 1 and 2 x approvals from group 2,

however rejection is not working at all, if every single person requested sets rejected the state of the change still stays at "approval requested.

I've tried using a single join for approval and rejection, i've also tried using a join for approval and a join for reject.

I've also used the joins with the default condition of activity.result == 'complete' and activity.result == 'incomplete' as well as amending to activity.result == 'approved' || activity.result == 'skipped' and activity.result == 'rejected'

I've highlighted the relevant parts of the workflow 

find_real_file.png

Any idea @Fabian Kunzke ?

Hello,

Sorry for the late response. On your branch you should only have one "Always". From there just connect all of the needed approvals. That way all of them should be triggered.

Also, i don't know if the user approval is set up to trigger twice right now, but i would split that into two seperate actions as well.

Regards

Fabian