Workflow stages
Summarize
Summary of Workflow stages Build workflows > Classic Workflow > Workflow stages
This content explains how to manage workflow stages in ServiceNow, specifically focusing on how workflows can indicate progress through designated stage fields. The Incident table uses the Incident state field, while the Service Catalog uses the Stage field. The available fields for workflow stages depend on the table in use.
Show less
Key Features
- Stage Field Assignment: Stages can be assigned to workflow activities. When a workflow runs, the workflow engine updates the stage field for the associated record.
- Automatic Stage Management: For workflows using the Requested Item table, the Stage field is automatically set and reflects the state of workflow activities (e.g., In progress, Pending, Completed).
- Stage Value Sources: Stage values can come from various sources such as choices defined in the Stage column, default stages for the table, workflow-specific stages, and existing record values.
- Workflow Stage Sets: Stage sets allow for grouping and reusing workflow stages, which can be imported or exported for ease of management.
Key Outcomes
By effectively utilizing workflow stages, ServiceNow customers can enhance visibility into workflow progress, ensure accurate status reporting, and streamline workflow management. Customers can customize stages, manage them efficiently through stage sets, and leverage icons for intuitive understanding of progress across workflows.
Workflows can indicate workflow progress by updating any field designated as a stage field.
For example, the Incident [incident] table has an Incident state field that indicates progress, but the service catalog uses the Stage field.
To indicate the workflow's progress through the possible stage values, the interface updates the Stage field selected in the workflow properties. Available fields depend on the table used by the workflow. If the field provides a choice list, then the choices are available as stage values for the workflow. If the field is a workflow field, it displays an icon to indicate the workflow's progress, as with the Service Catalog's Stage field.
After stages are added to the workflow, they can be assigned to each workflow activity. If an activity with an assigned stage is encountered when the workflow runs, the workflow engine assigns the stage to the record associated with the workflow context.
- If an activity is active, then the stage is shown with the state of In progress.
- If an activity is in the Pending or Completed state, the stage reflects this state.
- If an activity is canceled, Request Cancelled appears in the Stage field. The "Cancelled" label set in the wf_stage table is a reserved word, and does not display in the Stage field.
How stage values are derived
Stage values are derived from various sources in the interface.
- Choices for Stage column: Choices defined for the column selected as the Stage column for the workflow.
- Default stages for table: Stages defined in the Stage Default [wf_stage_default] table for the table selected.
- Workflow-specific stages: Applied only to the workflow for which they were defined in the Workflow Stage [wf_stage] table.
- Stage values in existing records: Values from the designated Stage column in the table assigned to the workflow are inherited from existing records.
If the stage field for a workflow is the table column named Stage, then the progress of the workflow appears in any list view containing the Stage column.
Stage values shown in the list views are accompanied by the state, based on the workflow activities being executed. If an activity has a stage specified for it, and the activity is currently active in the workflow, then the stage is shown with a state of In progress. Similarly, if the activity is in the Pending or Completed state, the stage reflects this state.
Example
- Waiting for Approval
- Fulfillment
- Delivery
- Request Cancelled
- Completed
- Waiting for Approval
- Fulfillment
- Delivery
- Request Cancelled
- Completed