Skip to main content
All CollectionsSystem TasksWorking with Groovy ScriptsGroovy Script Library
Dynamic Distribution in Workflows via Groovy Script System Task

Dynamic Distribution in Workflows via Groovy Script System Task

Updated over 3 weeks ago

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.



Did this answer your question?