Manage Routing Rules

Use Visual Information Builder to create routing rules.

Assume you must create a routing rule.

  • If the task type is Compliance Check, and if the compliance value is less than 100, then set the connector to ComplianceCheckConnector, and set the interface type to SDO.

Here's the rule that you will create.

the rule you will create.

Summary of the Steps

  1. Create the If statement.

  2. Create the Then statement.

  3. Activate and publish your rule.

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

Create the If Statement

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

    • Offering: Order Management

    • Functional Area: Orders

    • Task: Manage External Integration Routing Rules for Sales Orders

  2. On the Manage External Interface Routing Rules page, click Create New Rule.

  3. Set the values.

    Attribute

    Value

    Name

    Routing Rule for Compliance Check

    Description

    Route sales orders according to results of the compliance check.

  4. Name the If statement so it describes the meaning of the condition.

    • In the If area, click Enter Description.

    • In the Enter Description dialog, enter Task Type = Compliance Check and Compliance Value Is Less Than 100, then click OK.

  5. Click New Condition (the dashed circle in the IF area).

  6. In the Create Condition dialog, enter Task, wait a moment, then click Task Type (Order Header).

    Notice that the dialog displays suggestions when you wait after you finish typing.

  7. In the Create Condition dialog, click Search.

  8. In the Search dialog, enter Compliance, then click Search.

  9. Select Compliance Check, click OK > OK.

    Notice that area IF displays the condition.

    • Task Type is Equal to Compliance Check

  10. Click AND.

  11. In the Create Condition dialog, enter Compli, then wait a moment.

    Notice that the dialog displays a number of attributes, such as Compliance Date (Header Compliance Details). Extensible flexfields that you set up on the order header provide values for these attributes. The order header displays them as attributes in the Order Management work area.

  12. Click Compliance Value (Header Compliance Details).

  13. Change the operator from = (equal), to < (less than).

  14. Change the value from 0.0, to 100, then click OK.

    Notice that the IF area displays the condition.

    • Task Type is equal to Compliance Check AND Compliance Value < 100

Create the THEN Statement

  1. Click THEN > DO.

  2. Name the DO so it reflects the meaning of the action.

    • In the DO area, click Enter Description.

    • In the Enter Description dialog, enter Set connector to ComplianceCheckConnector and interface type to SDO, then click OK.

  3. Click New Action (the dashed circle in the DO area), then click Perform an Action.

  4. In the Create Action dialog, set the action to Set Connector Name, then click Search.

  5. In the Search dialog, enter %Compli%, then click Search.

    The percentage symbols (%) are wildcards that search for all values before and after the text Compli. This search returns services that the Manage Connector Details page contains, and that contain the text Compli.

  6. In the Description area, click Compliance check system conn, then click OK.

  7. In the Create Action dialog, click OK.

  8. In the DO area, click AND > Perform an Action.

  9. In the Create Action dialog, set the action to Set Interaction Interface Type.

  10. Set Interaction Interface Type to SDO.

    If you are a new customer, then you must set Interaction Interface Type to SDO for any interaction interface that you set up. Use EBM only for backward compatibility to a prior update.

  11. Click Save and Close.

Activate and Publish Your Rule

  1. On the Manage External Interface Routing Rules page, notice that the Active indicator for the Routing Rule for Compliance Check rule is grey.

  2. Right-click Routing Rule for Compliance Check, then click Actions > Edit.

  3. In the Routing Rule for Compliance Check dialog, add a check mark to the Activate Rule option, then click Save and Close.

    Notice that the Active indicator for Routing Rule for Compliance Check is green.

  4. Click Publish.

    Order Management publishes each of the rules that are active on the Manage External Interface Routing Rules page.