This activity creates user approval(s) when executed, one or more, depending on the parameters specified.
The result value is the final approval disposition that depends on the actions taken by the approvers and the approval conditions specified in the When approved and When rejected
The activity can be completed with one of two results:
Name | Description | |
---|---|---|
Name | Customized activity name. | |
Description | Brief activity description. It is displayed on the activity block on the canvas if provided. | |
Table | Select a table to be processed by this activity. | |
Run Conditions | Specify conditions that must be met for generating approvals; whenever they are not met, then the activity is skipped. | |
Approval type | Specify the approval type (). Available options:
| |
Users | Select user or users from the dictionary; selected users will be the recipients for the approvals. | |
Groups | Specify a group or groups whose members will receive these approvals. | |
Advanced | Select this checkbox to specify a script to evaluate. | |
Script | If the Advanced checkbox is selected, then this script is called to determine if any additional approvals to be created. The script needs to set the variable answer to a comma-separated list of user ids and group ids or an array of user and group ids to add as approvers. For example:
| |
When approved | This field is displayed when the Approval Type is chosen to "automatically". In this choice field, you can define the approval logic. Available choice options:
| |
When rejected | This field is displayed when the Approval Type is chosen to "automatically". In this choice field, you can define the rejection logic. Available choice options:
| |
Conditions approved | This field is displayed when the Approval Type is chosen to "manual". Specify the conditions to meet before the activity will complete with the result of Approved. If you have specified more that one condition, then they will proceed downhill. | |
Conditions rejected | This field is displayed when the Approval Type is chosen to "manual". Specify the conditions to meet before the activity will complete with the result of Rejected. If you have specified more that one condition, then they will proceed downhill. |