Workflow properties
-
- UpdatedAug 3, 2023
- 5 minutes to read
- Vancouver
- Workflow
The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
In the properties of a workflow, you can configure settings such as its application scope, start conditions, schedule, inputs, stages, and run time metrics. You can also view information such as the workflow author, version, and history.
When you create a new workflow, the following fields are available in the dialog box:
- Name
- Table
- Description
- If condition matches
- Condition
If you click Diagrammer view, in Related
Lists, the following UI sections are available in the dialog box:
- General
- Conditions
- Inputs
- Activities
- Application
- Schedule
- Stages
- Estimated Runtime
General
Conditions
Create conditions to trigger the workflow. The Conditions section does not appear if you
select a table, such as sc_req_item, that does not require a condition.
Field | Description |
---|---|
If condition matches | When the condition evaluates to true, the workflow launches an active context:
|
Condition | A condition builder for specifying workflow conditions that trigger the behavior selected from the If condition matches list. |
Order | Numeric value that determines the order of the workflow, relative to other workflows. Workflows are evaluated in order from the lowest order number to the highest. A workflow runs if it is the first to match conditions. |
Inputs
The Inputs section lists all the activities in the current workflow that input data, the
data type, and the default value. The Inputs section is only available after a workflow has
been created. To create a variable, click New.
Activities
The Activities section enables you to set activity pinning and maximum activity
count.
Field | Description |
---|---|
Activity pinning | List of options that control updates to custom activities at the workflow
level. Pinning protects custom activities from being updated automatically when
downloaded from the ServiceNow Store. For more information, see Workflow activity pinning.
The possible options are:
|
Max activity count | The maximum number of activities performed by the workflow. This value is used to prevent infinite loops and is set to 100 by default. When the stated maximum count is reached, the workflow is canceled. If this field is blank, the maximum count is set to -1, and the workflow is canceled. |
Application
The Application section enables you to see application scope and scope restrictions.
Field | Description |
---|---|
Application | [Read-only] Scope of this activity. For more information, see Application Scope. |
Accessible from | Scope restrictions for this workflow. Possible settings are:
For more information see Workflow scope. |
Schedule
Use the Schedule section to create a schedule for this workflow using the schedule
builder.
Stages
The Stages section appears if you select a table with Type =
Workflow.
Estimated Runtime
The Estimated Runtime section opens the controls for configuring the
ERT for the workflow. Core workflows included in the base system
are not configured for estimated run time by default. All new workflows are configured with
default ERT values automatically. You can edit existing run time estimates or configure new
ones for any existing workflow. For details about how estimated run times are configured and
calculated, see Workflow run time metrics.