Types of decision logic
You can use different types of logic when you add the Decision shape to a flow. By understanding what makes each type unique, you can create flows that make decisions more effectively.
You can use the following types of decision logic in a flow:
Boolean expression - Returns a true or false value, based on an evaluation of conditions and properties that you define.
Decision table - Returns a single value for the row in the table that meets the conditions, expressions, and value ranges that you define.
Decision tree - Returns a single value for the branch in the tree that meets the if-then logic that you define.
Fork - Evaluates when conditions, expressions, and likelihoods that you define to determine which connector advances the flow to the next shape in the sequence.
Map value - Converts one or two input values into a single-value result.
- Adding decisions to processes
Make your business processes flexible and responsive by providing conditional paths that a case can follow to reach a resolution. By adding a decision point to your case, you support more than one outcome for your business process, and adjust the case to changing business needs and circumstances.
- Changing the decision logic in a flow
You can change the way that you implement a decision in a process. By using a rule instead of a series of when conditions to define your decision logic, you can create cases that support complex decisions and are easier to maintain.