You can develop a custom Adobe Experience Manager (AEM) Dynamic Participant workflow step. A Dynamic Participant Step component is similar to Participant Step except the participant to which the workflow item is assigned is determined at run time. You create a 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. For example, your participant chooser can select the user that has the fewest work items. This article walks you through how to create a custom Dynamic Participant Step and use it in an AEM workflow. In this workflow example, content is reviewed and approved using a custom Dynamic Participant Step.
To read this article, click https://helpx.adobe.com/experience-manager/using/dynamic-steps.html.