Administering workflow contexts

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:4分
  • The workflow context performs the activities and transitions defined in the workflow with the new record as current.

    Workflow in ServiceNow names a running workflow a Workflow Context. The Workflow Context maintains the state of the overall process in the Workflow Context record. The Workflow Context maintains the state of the individual activities as they execute in a series of related lists. These lists maintain the state of currently executing activities, the result of finished activities, and the execution path the workflow took through the process model.

    The Workflow Context canvas provides a visual representation of the execution path the workflow took through the process model. The state of each activity (finished, executing, cancelled, error) is represented using the color palette. The executed paths are represented in the color blue; the non-executed paths are represented in grey. Active and historic workflow contexts, as well as the activities within them, can be viewed using the Live Workflows section of the Workflow application menu.

    Viewing a workflow context

    Workflow contexts can be found in two places:
    • From the Workflow Context related link on the form of the task being powered by the workflow.
    • By navigating to Workflow > All Contexts and selecting an active context.

    Displaying workflow progress

    Two related links on the Workflow Context form allow you to view the progress of a workflow in different formats.
    • Show Timeline displays the workflow context as a timeline.
    • Show Workflow displays the workflow context in the graphical Workflow Editor.

    Graphical interface

    To view the workflow context in the graphical Workflow Editor interface, click the Show Workflow link from either the workflow context record or the current record.
    図 : 1. Show workflow
    In the top right hand corner are two controls:
    表 : 1.
    Refresh icon Refreshes the workflow context.
    Color key icon Displays a key of the colors used in the workflow to denote the state of activities and transitions:

    Workflow state

    Execution order

    View tooltip text in the workflow context graphical view to see the execution order of individual activities.

    In Workflow > Live Workflows > Active Contexts or All Contexts, Open the context you want to examine. Click Show Workflow, and point to a finished or executing activity. The tooltip shows error data, execution time, and the order in which the activity executed in the workflow. Use this data to help troubleshoot activities in an error state.

    図 : 2. Execution order workflow
    View the order in which a context executed