Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Workflow Multi approval Issue

Avatar

Level 1

Requirement to assign a workflow approval to two groups [1] and [2], if member of group [1] approves first then workflow should not wait for group[2] approval
vice versa if member of group[2] approves first workflow should not wait for group[1] approval.

The main concern here is both the groups [1] and [2] users AEM inbox page should be seen.

We have tried below options.

Tried and "or split" and "and split" but both are not satisfying actual requirement.
Tried time out and advance setting on one of the participant step to auto approve if once groups approves first.
Tried groups [1] and [2] added to group[3] and group[3] mapped to participant step.

Please provide if we can achieve using any customization. technically two groups should assign to participant step in the workflow.

1 Accepted Solution

Avatar

Correct answer by
Employee

Have you thought about creating a 3rd organizational User Group in AEM that has Group1 and Group 2 as its members and assigning the approval that anyone in *that* group?

 

I'm not clear as to why you are creating a Group 1 and Group 2 distinction in the context of this workflow, based on what you said, only 1 person from either group needs to approve:

 

"If member of group [1] approves first, then workflow should not wait for group[2] approval 

vice versa

if member of group[2] approves first, workflow should not wait for group[1] approval."

 

 

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

Have you thought about creating a 3rd organizational User Group in AEM that has Group1 and Group 2 as its members and assigning the approval that anyone in *that* group?

 

I'm not clear as to why you are creating a Group 1 and Group 2 distinction in the context of this workflow, based on what you said, only 1 person from either group needs to approve:

 

"If member of group [1] approves first, then workflow should not wait for group[2] approval 

vice versa

if member of group[2] approves first, workflow should not wait for group[1] approval."

 

 

Avatar

Level 1

Actually we have two approval groups called as business and corporate, both should able to see the workflow item in the aem inbox. if member from one group provides approval workflow should not   wait for other group approval. here Is is possible to map two approval groups for participant step in the workflow.

Avatar

Level 1

>>>Have you thought about creating a 3rd organizational User Group in AEM that has Group1 and Group 2 as its members and assigning the approval that anyone in *that* group?

Comment by Chaitanya: This is the last option we are planning to use, looking for any other solution.

 

>>>I'm not clear as to why you are creating a Group 1 and Group 2 distinction in the context of this workflow, based on what you said, only 1 person from either group needs to approve:

Comment by Chaitanya: We have two approval groups called business and corporate and only 1 person from either group needs to approve

Avatar

Employee
Yup - creating the Group 3 (Business and Corporate approvers) is the proper way to approach this in AEM