Users on Asite can configure dynamic distribution list for assigning user task as per configuration while creating workflow definitions on files or forms. To do this, you will need to select '${Dynamic Distribution' option in the 'To' field of user task configuration.
The dynamic distribution list that you define in a workflow definition of your project will need to be configured separately in the same project as a groovy script system task.
Below is a list linked to sample groovy scripts for dynamic distribution. Click on a link relevant for you to continue:
If you have selected the '${Dynamic Distribution' option in your workflow user task and if there is no groovy script system task defined in your project for dynamic distribution, it will lead to a failed workflow.
Next Article: Groovy Script - Dynamic Distribution of Files based on User's Email, Role or Distribution Group