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

smacdonald2008 wrote...

You can create a custom  Dynamic Participant workflow step by implementing ParticipantStepChooser. When creating a Dynamic Participant Step, you can use application logic to determine whom to assign the workflow item. In your logic, you can get group information too. All of this can be coded. 

 

Dynamic participant step is the right way to choose a participant from the code, but it won't allow you to choose multiple participants through same step. I guess Kishore's requirement is to select multiple groups through same participant step.

View solution in original post

2 Replies

Avatar

Level 10

You can create a custom  Dynamic Participant workflow step by implementing ParticipantStepChooser. When creating a Dynamic Participant Step, you can use application logic to determine whom to assign the workflow item. In your logic, you can get group information too. All of this can be coded. 

Avatar

Correct answer by
Community Advisor

smacdonald2008 wrote...

You can create a custom  Dynamic Participant workflow step by implementing ParticipantStepChooser. When creating a Dynamic Participant Step, you can use application logic to determine whom to assign the workflow item. In your logic, you can get group information too. All of this can be coded. 

 

Dynamic participant step is the right way to choose a participant from the code, but it won't allow you to choose multiple participants through same step. I guess Kishore's requirement is to select multiple groups through same participant step.