Dynamically adds candidate starter users and groups to a process definition.
In general it will be preferable to specify any candidate starter users or groups in the process definition uploaded to the server as this will ensure that the process definition XML (which should be under version control) is an accurate reflection of the behaviour of the process definition on the server.
Parameters
Name | Type | Description |
---|---|---|
processDefinitionId | String | Full process definition ID of the process to add a starter to |
groupId | String | Site group name to add as candidate starter (lowercase) |
userId | String | Site user name to add as candidate starter (lowercase) |
groupId or userId must be supplied |
Last modified on March 10, 2020