Users on Asite can configure a dynamic distribution list to assign user tasks as per configuration while creating workflow definitions on files or forms. To do this, you must select the '${Dynamic Distribution' option in the 'To' field of user task configuration.
The dynamic distribution list you define in your project's workflow must 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 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