Skip to main content

Dynamic Distribution in Workflows via Groovy Script System Task

Users on Asite can configure a dynamic distribution list to assign user tasks as per the configuration while creating workflow definitions on files or forms. To do this, 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.


Sample Groovy Scripts for Dynamic Distribution

If you have selected the ${Dynamic Distribution} option in your Workflow user task and 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?