A common design pattern in business processes is one which selects one path of execution based on the evaluation of one or more conditions. You can create this pattern by designing a Decision node in your business process.
By default, a Decision node consists of one condition, a path below the condition, which represents the path of execution followed when the decision evaluates to true, and a path to the right of the condition, which represents the path of execution followed when the condition evaluates to false (the default path). A Decision node can contain additional conditions, in which case if the first condition evaluates to false, the second condition is evaluated. If the second condition evaluates to false, the next condition is evaluated, and so on. The default path is executed if no conditions are met.
Note: To create case statements, WebLogic Integration provides a customized node, called a Switch node. To learn about using Switch nodes and how they differ from Decision nodes, see Comparing Decision Nodes and Switch Nodes in Creating Case Statements.
This section describes how to add a Decision node to your business process, define conditions, and define activities for the alternative paths of execution in the Decision node. It contains the following topics:
![]() |
![]() |