This activity creates user approval(s) when executed, one or more, depending on the parameters specified.
As a result,
В результате работы активити генерятся аппрувал тикеты, которые должны быть обработаны заданным кругом аппруверов (задается в свойствах активити).
Возможные результаты работы: Approved или Rejected.
Input variables
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 | Здесь указывается тип, как мы Automatically; Manual. |
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: Approval Script answer = []; answer.push('id1'); answer.push('id2'); |
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 | При выборе Approval type "Manual". Задается условие перехода активити в approved. Если задается несколько условий для перехода, то порядок выполнения условий - сверху вниз. |
Conditions rejected | При выборе Approval type "Manual". Задается условие перехода активити в rejected. Если задается несколько условий для перехода, то порядок выполнения условий - сверху вниз. |