Siebel Business Process Framework: Task UI Guide > Creating Steps and Connectors > Creating a Branch Connector >

Creating a Condition on a Branch Connector


You can create a condition on a branch connector to control task flow. For example, the following are some conditions that you can create according to the value of a priority field:

  • If the priority is high, then the task UI follows a branch that sends an email to a vice president.
  • If the priority is medium, then the task UI follows a branch that sends an email to an individual contributor.

You can use the Compose Condition Criteria dialog box to create a condition. For detailed usage information, see Siebel Business Process Framework: Workflow Guide.

To create a condition on a branch connector

  1. Open the Task Editor.

    For more information, Opening the Task Editor.

  2. In the Task Editor, right-click the branch connector where you must create a condition.
  3. Choose Edit Conditions.

    Siebel Tools displays the Compose Condition Criteria dialog box. Siebel Tools constrains the Values that it lists in this dialog box according to the business object that the Business Object property of the task UI references.

  4. In the Compose Condition Criteria dialog box, use the Compare To list to choose one of the values that the following table describes.
    Value
    Description

    Applet

    Uses the value that an applet field contains for the condition comparison.

    Business Component

    Uses the value that a business component field contains for the condition comparison or when you create an expression.

    Expression

    Uses an expression to evaluate a specific value.

    Task Property

    Compares the value that a task property of a task instance contains to a defined value.

  5. Choose an Operation to evaluate the values.
  6. Enter an Object and Field, if necessary.
  7. Enter one or more values in the Values window.

    You can enter multiple values in the Values window. If you enter multiple values, then Siebel CRM uses an OR operator between each value.

  8. If you chose Expression in the Compare To field, then enter the expression in the Values window.

    For more information, see Siebel Developer's Reference.

  9. Click OK.
  10. Save your modifications.
  11. Close the Task Editor.

Creating Multiple OR Conditions

You can create multiple conditions for each branch. Siebel CRM treats multiple conditions with the AND operator. You can use multiple expressions to create multiple OR conditions. The following example illustrates an expression that uses the OR operator to compare a business component field to the date for today:

([Close Date] <= Today()) OR ([Name] = 'Opportunity test1')

For more information, see Siebel Business Process Framework: Workflow Guide.

Branching and Parallel Processing

You cannot define the order that Siebel CRM uses to evaluate conditions, so it is important that you define branching conditions so that they are mutually exclusive. Siebel Task UI does not support parallel processing. Make sure you create conditions so the task UI can proceed along only one connector. If you create conditions so that flow can proceed simultaneously along multiple connectors, then Siebel CRM cannot predict run-time behavior.

Siebel Business Process Framework: Task UI Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.