---
sourceDocument: Brazil Sales Customer Relationship Management
sourceDocumentLink: https://www.servicenow.com/docs/r/order-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Sales Customer Relationship Management

ft:clusterId :

    - omgmt

bundleId :

    - omgmt

workflow :

    - Customer and Industry


---

# Define jeopardy workflows

# Define Jeopardy-enabled fulfillment workflows {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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
{#define-jm-enabled-fulfillment-flows__ul_lgk_2ky_dyb}

## Procedure

1. Navigate to AllProcess AutomationFlow 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 NewSubflow.
   {#define-jm-enabled-fulfillment-flows__choices_tp5_mrs_fyb}
3. Give the subflow a name and provide any additional information.
4. Select the Build subflow action.  
5. Build the Jeopardy Management subflow using the following actions:

{#define-jm-enabled-fulfillment-flows__table_ykg_nwz_dyb__entry__2}

| 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. |
[Table 1. Jeopardy Management flow actions]

{#define-jm-enabled-fulfillment-flows__table_ykg_nwz_dyb}  
Note:  
For more information about building subflows, see [Building subflows](https://www.servicenow.com/docs/access?context=subflows&version=brazil&pubname=brazil-build-workflows&ft:locale=en-US).

6. Test the flow by selecting Test.
7. Publish the flow by selecting Publish.

## What to do next

[Configure the Order Task Duration Assignment Policy](https://www.servicenow.com/docs/67WJX5T3gH0U5BcwBxzLEw "Configure the Order Task Duration Assignment Policy using Workflow Studio. This policy determines how long each task should take to complete, when it should start, and when it's expected to finish, enabling accurate scheduling, resource planning, and timeline visibility across the order life cycle.").
**Related concepts**   

* [Jeopardy Management](https://www.servicenow.com/docs/8_ETXBgWIu2UvBFAYgN4lw "Jeopardy Management is a risk assessment tool that monitors fulfillment tasks, assesses the risk level, and alerts fulfillment managers when the assigned task time is in jeopardy.")
* [Monitoring order jeopardy](https://www.servicenow.com/docs/OuIJy5lOQesEloIaGN3vtw "Order managers and agents can monitor jeopardy-enabled fulfillment tasks. When a task enters jeopardy, managers can take action to ensure the fulfillment workflow isn’t delayed.")

*[\>]: and then


