Approval - User workflow activity
-
- UpdatedAug 3, 2023
- 6 minutes to read
- Vancouver
- Workflow
The Approval - User activity creates one or more individual user approvals.
Results
- Approved
- Rejected
- Deleted
- Cancelled
Input variables
Field | Description |
---|---|
Approval - User When Specify when this activity generates a user approval record. |
|
Condition | Conditions which, if met, cause the individual approval to be generated. If the conditions are not met, the approval is skipped. |
Approval - User Approvers Specify the users whose approval will be requested. |
|
Users | The users for the approval. Use the tree icon to select user reference fields
from the current record to create approvals, such as
${assigned_to} . If no user is selected, the activity automatically
sets the approval to Approved. Note: Workflow only manages
approval records generated by the Approval User activity. After starting the
workflow, newly added approvals do not affect the workflow context.
|
Groups | Groups whose members should also receive approvals. Note that this is different
than the Approval - Group activity, which creates a group
approval in addition to the individual approvals. The tree icon can be used to
select group reference fields from the current record to create approvals, such as
${assignment_group} . |
Approval - User Condition Specify how the activity decides to approve or reject the approval, based on the responses from individual approvers. |
|
Wait for | A choice between different approval logics to determine which individual
approvals result in approval of the activity's approval. Options are:
|
When anyone rejects |
A choice between different approval logics to determine which individual
rejections result in rejection of the activity's approval. Options are:
Note: Note that if Wait for is set to Anyone to
approve then a single approval will cause the activity to complete
with a result of approved even if one or more users
reject.
|
Approval Column |
A string field for the name of the approval field on the table the workflow is running on. The default value is approval, which is the field on the Task table. Note: Use the field's name, not its label.
If using any custom approval column fields and approval column journals, use Set Value activities in the workflow to set the custom Approval column fields. |
Approval Journal Column | |
Approval Script |
If the Wait for variable is set to Condition
based on script this script is called to determine how to handle an
approval or rejection. The script needs to set the variable
answer to approved or rejected to indicate the approval
status for this approval. When called, the following information is
available:
|
Approval - User Schedule Specify how workflow calculates the approval record's expected start date and due date. Once you've made a selection for 'Due date based on', and 'Schedule based on', the appropriate fields will display. |
|
Due date based on | Select how workflow determines the task's duration, due date, and schedule.
|
Duration Only appears when Due date based on is set to A user specified duration |
The specific number of days and hours. |
Relative duration Only appears when Due date based on is set to A relative duration |
The general number and length of business days. |
Due date field Only appears when Due date based on is set to A date/time or duration field |
The date/time or duration field. |
Due date script Only appears when Due date based on is set to Script |
The script that sets 'answer' to the number of seconds for the duration. |
Schedule based on | The basic schedule the timer uses to count working hours. If a schedule is
specified, the duration will only be considered for times that are specified on
the schedule. For example, if the duration is 2 hours and the workflow begins at
4:00pm on a schedule that is 8am - 5pm, then it ends at 9:00am the next day. The
options are:
|
Schedule Only appears when Schedule based on is set to A specific schedule |
The predefined Schedule from a list. |
Schedule field Only appears when Schedule based on is set to A schedule field. |
A date and time or duration field for the schedule, that is associated with the table. Valid fields appear in blue on the Select the element from a tree dialog. |
Time zone based on | The time zone for calculating the duration. The time zone may be based on:
|
Time zone Only appears when Time zone based on is set to A specific time zone . |
Select the time zone you want from the choice list. |
Time zone field Only appears when Time zone based on is set to A time zone field. |
A date and time or duration field for the schedule, that is associated with the table. Valid fields appear in blue on the Select the element from a tree dialog. |
Approval - Advanced If desired, write a script for determining additional users to request approvals from. |
|
Advanced | Select this check box to write a script for determining additional users to request approvals from. |
Additional approvers script |
If the Advanced check box is selected, this script is
called to determine any additional user 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:
|