You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This activity creates user approval(s) when executed, one or more, depending on the parameters specified.

As a result, 

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/workflow-activities/reference/r_ApprovalUser.html

В результате работы активити генерятся аппрувал тикеты, которые должны быть обработаны заданным кругом аппруверов (задается в свойствах активити).

Возможные результаты работы: Approved или Rejected.

Input variables 

NameDescription
NameCustomized activity name.
DescriptionBrief activity description. It is displayed on the activity block on the canvas if provided.
TableSelect 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.

UsersSelect user or users from the dictionary; selected users will be the recipients for the approvals.
GroupsSpecify a group or groups whose members will receive these approvals.
AdvancedSelect 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

При выборе Approval type "Automatically". Варианты:

  • Anyone to approve;
  • Everyone to approve;
  • First response from anyone;
  • Most answers;
  • Conditions based on script.
When rejected

При выборе Approval type "Automatically". Варианты:

  • Anyone to reject;
  • Everyone to approve;
  • First response from anyone;
  • Most answers;
  • Conditions based on script.
Conditions approvedПри выборе Approval type "Manual". Задается условие перехода активити в approved. Если задается несколько условий для перехода, то порядок выполнения условий - сверху вниз.
Conditions rejectedПри выборе Approval type "Manual". Задается условие перехода активити в rejected. Если задается несколько условий для перехода, то порядок выполнения условий - сверху вниз.
  • No labels