Add Status Conditions to Orchestration Processes

Add status conditions that specify when to set the status of an orchestration process.

Assume you need an orchestration process that fulfills sales orders for company t-shirts, and you must specify the statuses that the process uses throughout the order life cycle according to the status of the fulfillment task.

You will create this status condition.

  • If the status of the Schedule task is Scheduled, then set the orchestration process status to Scheduled.

Summary of the Set Up

  • Set the orchestration process class.

  • Add the status condition.

You typically add more than one status condition to an orchestration process. For brevity, you will add only one in this topic.

This topic uses example values. You might need different values, depending on your business requirements.

Set the Orchestration Process Class

  1. In the Setup and Maintenance work area, go to the task.

    • Offering: Order Management

    • Functional Area: Orders

    • Task: Manage Orchestration Process Definitions

  2. On the Manage Orchestration Process Definitions page, locate the CallCustomerWhenLargeInvoice orchestration process, then click Actions > Edit.

    Learn how to create this process. For details, see Add Branches to Orchestration Processes.

  3. On the Edit Orchestration Process Definitions page, set the value.

    Attribute

    Value

    Process Class

    Standard_Class

    You must set up Standard_Class before you can select it. For details, see Set Up Orchestration Processes.

  4. Click Save.

Add the Status Condition

  1. In the Process Details area, click Status Conditions.

  2. In the Orchestration Process Status Values list, click Actions > Add Row.

  3. In the new row, set the values.

    Attribute

    Value

    Sequence

    1

    Status Value

    Scheduled

  4. Add the expression.

    • In the new row, in the Expression column, click the icon.

    • In the Expression Builder dialog, click CallCustomerWhenLargeInvoice, Schedule, then click Insert Into Expression. Make sure you don't expand CallCustomerWhenLargeInvoice, Schedule.

      Notice that the dialog added a value of "Schedule" in the Expression window of the Expression Builder.

    • In the Expression window, click anywhere after "Schedule", then enter an equal sign (=).

    • Expand CallCustomerWhenLargeInvoice, Schedule, click SCHEDULED, then click Insert Into Expression.

    • Notice that the Expression window contains "Schedule"="SCHEDULED", then click OK.

  5. Click Save.