A pipeline defines how to orchestrate an order line through the order management process. It defines an order line, then traces the path that the order line must take from beginning to end.

A pipeline has two parts:

  • Pipeline Criteria, which define the conditions that an order line must meet to proceed through that pipeline.
  • Pipeline Configuration, which defines how the order lines that meet the criteria proceed through the order management process. The configuration sets up the ROM services based on the starting service, then connects exit events with entry events in the following service.

Review Pipelines

To manage the pipelines that have been defined for your ROM implementation:

  1. Click or tap the icon in the upper-left corner. The Main Menu appears.
  2. Click or tap Pipelines. The Manage Pipelines screen appears.

This screen displays a list of your current pipelines. From this screen, you can:

  • View a pipeline.
  • Copy a pipeline.
  • Edit a pipeline and its configuration.
  • Delete a pipeline.
  • Add a new pipeline.

View a Pipeline

To view a pipeline:

  1. Click or tap the icon. The Pipeline screen appears.

    This screen shows:

    • Name of the pipeline
    • Status of the pipeline: Draft or Active. Note: You cannot edit an active pipeline.
    • Created by: The user who first created the pipeline.
    • Modified by: The user who last edited the pipeline. This field appears when someone edits a pipeline.
    • Start date
    • End date
    • Pipeline Criteria: The expression that determines the order orchestration for this pipeline.
  2. From this screen, you can view the pipeline configuration, or edit the pipeline criteria and configuration.
  3. To return to the Pipeline list, click or tap the Back button on your browser.

Add a Pipeline

To add a pipeline:

  1. From the Manage Pipelines screen, click or tap the Add button. The Create Pipeline screen appears.

    The Created By and Status fields are pre-populated with your userid and a DRAFT status. You cannot change these values. You can change the Status to ACTIVE or INACTIVE when you edit the pipeline after you initially create it.

  2. Enter a name for the pipeline.
  3. Enter a Start Date for the pipeline. If the pipeline status is "ACTIVE," this is the date that the pipeline goes into effect. If the pipeline status is "INACTIVE," the date has no effect.

    When you specify the Start Date, be sure to give yourself enough time to create and save the Pipeline Criteria. If you specify a Start Date and try to save the Pipeline after the time specified in the Start Date, you receive an error. For example, assume that you create a Pipeline with a Start Date of May 12, 2020 at 1:32 PM, but you try to save the Pipeline at 1:42 PM, you receive an error because you cannot save a Pipeline whose Start Date is in the past, even by a few minutes.

  4. Enter an End Date for the Pipeline. If the pipeline status is "ACTIVE," this is the date that the pipeline is no longer in effect. If the pipeline status is "INACTIVE," the date has no effect.
  5. Set up the first expression of the Pipeline Criteria. The Pipeline Criteria defines the requirements that an order must meet to move through the pipeline. These requirements take the form of an expression or group of expressions that define the Type of the order and the Value associated with that type.

    The expression fields are:

    • Grouping: Specifies how the expressions are tied together.
    • Type: Specifies the type of order.
    • Operator: Specifies how the Type relates to the Value.
    • Value: Specifies the value of the order Type.
    • Grouping: Closes the expression and specifies its relationship to the following expression.

    When you finish adding the expression, click or tap the icon.

  6. To further refine the criteria, you can add more expressions, edit existing expressions, or delete an expression.
    1. Hover over the expression. A popup appears that enables you to add a new expression to the end of the existing expression, edit the existing expression, or delete the expression.

    2. To add a new expression, click or tap the + icon. A new set of expression fields appears, where you can enter the new expression.
    3. To edit an expression, hover over the expression that you want to edit, then click the icon. The expression appears in the expression fields, where you can edit it. You can only edit one expression at a time.
    4. To delete an expression, hover over the expression that you want to delete, then click or tap the icon.
    5. To add an expression to the left of the existing expression, click or tap the Prepend Condition button. The criteria fields appear.
  7. When you finish adding conditions, click or tap the icon.
  8. To save the criteria and add a Pipeline Configuration, click or tap the Save and Add Configuration button. The Configure Pipeline screen appears. See Add a Pipeline Configuration for details.
  9. To save the pipeline without adding a Pipeline Configuration, click or tap Save & Exit. The Manage Pipelines screen appears, showing the new Pipeline.
  10. To exit without saving the pipeline, click or tap Cancel.

Add a Pipeline Configuration

Once you have created your pipeline and set up the Pipeline Criteria, you can add a Pipeline Configuration. The Pipeline Configuration determines how an order passes through the fulfillment workflow. When you click or tap the Save and Add Configuration button on the Create Pipeline screen, the Configure Pipeline screen appears. This screen enables you to use a visual method to connect services through the service exit events.

For a description of the applicable services, including entry and exit events, see Pipeline Configuration Services.

To add a new Pipeline Configuration to a pipeline:

From either the Create Pipeline or Edit Pipeline screen, click or tap the Save and Add Configuration button. The Configure Pipeline screen appears.

This screen shows the starting points that you can choose:

  • Return
  • Reship
  • SalesOrderCreate
  1. To start adding services, drag the starting point to the rectangle. The starting point now appears on the left side of the screen. For this example, assume that the starting point is the SalesOrderCreate event. The red dot indicates the exit event for SalesOrderCreate; that is, the order_created exit event. This event creates and validates a new sales order.
  2. Click or tap the red dot on the SalesOrderCreate tile. The Manage SalesOrderCreate panel appears.

  3. In the ManageSalesOrderCreate tile, you can specify the next service to connect the order_created exit event. Click or tap the Connect button to see the available services. The order_created Workflow panel appears.

    This panel shows the services that you can connect.

  4. Click or tap the button for the service you want. A sub-panel appears, showing the available connections for the service.

  5. Click the Add Connection button. The Configure Pipeline screen shows the connection. In this case, the order_created exit event for the SalesOrderCreate service becomes the entry event for the Scheduling Service.
  6. Continue to make connections. As you select services and connect them, the red dots turn green and a line shows the connection. The available services and connections vary depending upon your choices. The following screenshot shows a sample of a simple configuration.

  7. When you finish your configuration, click or tap the Save button.

Copy a Pipeline

You cannot edit an active pipeline, but you can copy it. When you copy an active pipeline, you must rename it and enter new start and end dates. You can also change the pipeline criteria and the pipeline configuration.

To copy a pipeline:

  1. From the Manage Pipelines screen, click or tap the icon for the pipeline that you want to copy. The Create Pipeline screen appears, with the criteria and configuration from the original pipeline.

  2. Enter a name for the pipeline.
  3. Enter a start date and end date.
  4. To edit the pipeline criteria:
    1. Hover over the expression. A popup appears that enables you to add a new expression to the end of the existing expression, edit the existing expression, or delete the expression.

    2. To add a new expression, click or tap the + icon. A new set of expression fields appears, where you can enter the new expression.
    3. To edit an expression, hover over the expression that you want to edit, then click the icon. The expression appears in the expression fields, where you can edit it. You can only edit one expression at a time.
    4. To delete an expression, hover over the expression that you want to delete, then click or tap the icon.
  5. To add an expression to the left of the existing expression, click or tap the Prepend button. The Pipeline Criteria fields appear.

    Using these fields, you can:

    • Add a new expression in addition to the existing expression.
    • Add a new expression and delete the existing expression.

    See Edit Pipeline Criteria for details.

  6. When you finish editing the Pipeline Criteria, click or tap the icon.
  7. To save the criteria and edit the existing Pipeline Configuration, click or tap the Save and Add Configuration button. The Configure Pipeline screen appears, where you can edit the existing Pipeline Configuration. See Edit a Pipeline Configuration for details.
  8. To save the criteria without editing the existing Pipeline Configuration, click or tap the Save & Exit button.
  9. To exit without saving the copy, click or tap the Cancel button.

Edit Pipeline Criteria

After you set up a pipeline but before you activate it, you can edit it. You can:

  • Change the pipeline status from DRAFT to ACTIVE or INACTIVE.

    If you change the status to ACTIVE or INACTIVE, and then save the change, you can no longer edit the pipeline criteria and status, but you can change the dates and name..

  • Change the Start Date and/or End Date.
  • Edit the Pipeline Criteria:
    • Edit the existing expression.
    • Add additional expressions to an existing expression.
    • Delete an existing condition.

To edit a pipeline:

  1. From the Manage Pipelines screen, click or tap the icon for the pipeline that you want to edit. The Edit Pipeline screen appears.

  2. Edit the general information about the pipeline, including:
    • Name of the pipeline
    • Status: DRAFT, ACTIVE, or INACTIVE
    • Start Date and/or End Date

    You cannot change the userid of the user who originally created the pipeline.

  3. To edit the pipeline criteria:
    1. To add a new expression, click or tap the + icon. A new set of expression fields appears, where you can enter the new expression.
    2. To edit an expression, hover over the expression that you want to edit, then click the icon. The expression appears in the expression fields, where you can edit it. You can only edit one expression at a time.
    3. To delete an expression, hover over the expression that you want to delete, then click or tap the icon.
    4.  To add an expression to the left of the first expression, click or tap the Prepend button. The expression fields appear.

      Using these fields, you can:

      • Add a new expression in addition to the existing expression.
      • Add a new expression and delete the existing expression.

      The expression fields are:

      • Grouping: Specifies how the expressions are tied together.
      • Type: Specifies the type of order.
      • Operator: Specifies how the Type relates to the Value.
      • Value: Specifies the value of the order Type.
      • Grouping: Closes the expression and specifies its relationship to the following expression.
  4. When you finish editing the Pipeline Criteria, click or tap the icon.
  5. To save the criteria and edit the existing Pipeline Configuration, click or tap the Save and Add Configuration button. The Configure Pipeline screen appears, where you can edit the existing Pipeline Configuration. See Edit a Pipeline Configuration for details.
  6. To save the criteria without editing the existing Pipeline Configuration, click or tap the Save & Exit button.
  7. To exit without saving the copy, click or tap the Cancel button.

Edit a Pipeline Configuration

When you click or tap the Save and Add Configuration button, the Configure Pipeline screen appears. This screen enables you to use a visual method to edit the services and connections.

To edit a Pipeline Configuration:

  1. From the Edit Pipeline screen, click or tap the Save and Add Pipeline Configuration. The Configure Pipeline screen appears.

    This screen shows the services and connections that have already been set up for the pipeline.
  2. To edit the services and connections, click or tap the tile of the service you want to edit. The Manage panel for the service appears. The Manage panel has four sections:
    • Description
    • Rules, which specifies the Input Group or Groups for the Exit Event. More about this. ClosedAn input group is the group of events that need to complete for an order line to go that service. For example, for an order line to proceed to Scheduling, only the order_created event needs to complete. But, to go to Release, the scheduled, fraud_success, and payment_success events must complete, because the order line shouldn't be released for fulfillment if there's a chance that it won't pass fraud checks or if the payment might be declined.
    • Exit Events, which lists the exit events available for the service
    • The Manage Panel also includes the Hold Duration field. This field specifies the number of minutes that an order is held before moving to the next service.

      More about this. ClosedFor example, assume that you don't want to release the order line until the Buyer's Remorse hold has expired. You set the Hold Duration on the Release service to 60 minutes. The line completes sheduling and other necessary events succeessfully. ROM then waits until the current time is 60 minutes past the order_created event time before proceeding to the Release service.

  3. In the Manage panel, click or tap the Exit Event that you want to edit. The Workflow panel appears.

    The Workflow panel shows the connections for the service, the Input Group, and the available edits that you can make. The Input Group comprises the group of events that need to complete for an order line to go to the service. In this panel, you can also:

    • Delete the exit event: Deletes the exit event; however, the Sub Connections remain and are reorganized.
    • Delete the Sub Connections: Removes all of the connections to the exit event.
    • Add a new Connection: Adds an additional connection from the exit event to the next service.
  4. Edit the workflow as you like, then click or tap the Save button. You are prompted to confirm the action.
  5. Click or tap the Continue button. You return to the Manage Pipelines screen.

Delete a Pipeline

You can only pipelines that have a DRAFT status; you cannot delete pipelines that have ACTIVE or INACTIVE statuses.

To delete a pipeline:

  1. From the Manage Pipelines screen, click or the tap the icon of the pipeline that you want to delete. A popup appears, asking if you're sure.

  2. If you're sure that you want to delete the pipeline, click or tap the Confirm button; otherwise, click or tap the Cancel button.