Skip to content
Release: Australia · Updated: 2025-12-09 · Official documentation · View source

Define Jeopardy-enabled fulfillment workflows

Create jeopardy-enabled fulfillment workflows using Workflow Studio. The workflows enable Jeopardy Management to track task completion times and manage risk.

Before you begin

Role required: admin

About this task

Creating fulfillment flows starts with defining subflows in Workflow Studio using unique actions developed for Jeopardy Management.

The following Workflow Studio actions are used to create Jeopardy Management flows:

  • Create Order Planned Task
  • All Place Holder Tasks Created for Domain Order
  • Set Task Relationships
  • All Relationships Created for Order Tasks on Domain Order
  • Set Order Task State

Procedure

  1. Navigate to All > Process Automation > Flow Designer.

    Workflow Studio opens in a separate window.

  2. Select Subflows and do one of the following:

    • Search for existing subflows that you want to edit.
    • Start a new flow by selecting New > Subflow.
    • Give the subflow a name and provide any additional information.
  3. Select the Build subflow action.

  4. Build the Jeopardy Management subflow using the following actions:

  5. Order flow action

    Definition

    Create Order Planned Task

    Creates an order task and provides the option to establish task relationship with an existing order task. The Create Order Planned Task action extends planned tasks to Jeopardy Management.

    All Placeholder Tasks Created for Domain Order

    Sets the domain order stage to all order tasks created, so order tasks created by other subflows can have relationships created with current flow order tasks.

    Set Task Relationship

    Sets the relationship between two order tasks by creating a record in the planned_task_rel_planned_task table. The table calculates the order line item runtime and the order task jeopardy calculations.

    All Relationships Created for Order Tasks on Domain Orders

    Introduces the domain order all_relationship_set and sets the field to true in the subflow when all task relationships are established.

    Set Task Order State

    The flow action checks if an order task has a previous state value and uses the previous state to update the order task state during inflight state change.

    The Set the Order Task State action checks to see if an order task has a previous state value and uses the previous state to update the order task state during inflight state changes.

    **Note:** For more information about building subflows, see [Building subflows](../build-workflows/workflow-studio/subflows.md).
    
    1. Test the flow by selecting Test.

    2. Publish the flow by selecting Publish.

    What to do next

    Configure the Order Task Duration Assignment Policy.

    Related topics

    Jeopardy Management

    Monitoring order jeopardy

    sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

    ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

    © 2026 ServiceNow, Inc. All rights reserved.

    Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.