Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to get the multiple groups in dynamic participant step

Avatar

Level 4

Hi,

We have a custom workflow, we initiate workflow from siteadmin properties and assign workflow initiators [1] and approvers [2]  for specific path. If we assigin multiple approver groups how can we get the multiple groups in dynamic participant step?

 

[1] - Initiators: /content/geometrixx:group1 | /content/geometrixx:group2 

[2] - Approvers: /content/geometrixx:approver-group1 | /content/geometrixx:approver-group2 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

kishore.polsani wrote...

Hi,

We have a custom workflow, we initiate workflow from siteadmin properties and assign workflow initiators [1] and approvers [2]  for specific path. If we assigin multiple approver groups how can we get the multiple groups in dynamic participant step?

 

[1] - Initiators: /content/geometrixx:group1 | /content/geometrixx:group2 

[2] - Approvers: /content/geometrixx:approver-group1 | /content/geometrixx:approver-group2 

 

To my knowledge, you cannot assign workflow to multiple groups separately through dynamic participant step. It only allows you to assign it to one group or user. And ideally it should not be assigned to different groups in the same step thats not a good workflow practice and you won't be able to manage your approvals appropriately.

If assigning to 2 groups is a need, then here are the couple of things you can do:

  1. Put 2 groups in one parent group and use that group in participant step.
    1. This may not apply to your use-case as one of the participant needed by you is Initiator, which can belong to any group.
  2. Split that into 2 consecutive steps and then assign to one user/group at a time and once that group/user is done, then assign it to other group/user to act.
  3. Use AND split and run two branches and assign it to respective group/users in those branches.

~Runal

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

kishore.polsani wrote...

Hi,

We have a custom workflow, we initiate workflow from siteadmin properties and assign workflow initiators [1] and approvers [2]  for specific path. If we assigin multiple approver groups how can we get the multiple groups in dynamic participant step?

 

[1] - Initiators: /content/geometrixx:group1 | /content/geometrixx:group2 

[2] - Approvers: /content/geometrixx:approver-group1 | /content/geometrixx:approver-group2 

 

To my knowledge, you cannot assign workflow to multiple groups separately through dynamic participant step. It only allows you to assign it to one group or user. And ideally it should not be assigned to different groups in the same step thats not a good workflow practice and you won't be able to manage your approvals appropriately.

If assigning to 2 groups is a need, then here are the couple of things you can do:

  1. Put 2 groups in one parent group and use that group in participant step.
    1. This may not apply to your use-case as one of the participant needed by you is Initiator, which can belong to any group.
  2. Split that into 2 consecutive steps and then assign to one user/group at a time and once that group/user is done, then assign it to other group/user to act.
  3. Use AND split and run two branches and assign it to respective group/users in those branches.

~Runal

Avatar

Administrator

Did this answer from Runal helps?



Kautuk Sahni