Use Business Rules in Orchestration Processes

Use guidelines to help you create a business rule in an orchestration process.

For details, see Guidelines for Setting Up Orchestration Process Steps.

Lead-Time Expression Rule

defining a Lead-Time Expression Rule

Note

  • Use Advanced Mode.

  • Use the Assign action.

  • Assign a datetime value. For example:

    assign Header.mRuleDecision.leadTime = (Fline.scheduleShipDate.time - CurrentDate.date.timeInMillis)/(1000*60*60*24)
  • Don't use this rule to set the default value for any other attribute.

Line-Selection Rule

defining a Line-Selection Rule

Note

  • Use Advanced Mode.

  • Use the Assert action.

  • Assert value for fulfillLineId. For example:

    assert DooSeededOrchestrationRules.Result (resultObjKey.Fline.fulfillLineId)
  • Don't use this rule to set the default value for any other attribute.

Branching Condition Rule

defining a Branching Condition Rule

Note

  • Use Advanced Mode.

  • Use the Assign action.

  • Assign the Boolean to True. For example:

    assign Header.mRuleDecision.isOrchStepExecutable = DooSeededOrchestrationRules.Boolean.TRUE

  • Don't use this rule to set the default value for any other attribute.

Pause Tasks

Set up a pause task on an orchestration process. For details, see Guidelines for Pausing Orchestration Processes.