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.
-
In the navigation pane of Dev Studio, click Case types, and then click the
case type that you want to open.
-
In the case working area, on the Workflow tab, click
Life cycle.
-
In the
Case
life cycle section, hover over a process in a stage, and
then click the Configure process icon.
-
Above the canvas, click the Add a flow shape icon, and then
click Decision.
For
advanced decisions that you cannot define
in
when conditions, configure the Decision shape to use a different
logic type, such as a Boolean expression or a decision tree. For more information, see
About Decision Trees.
-
In the Decision shape, click [Decision], and then replace the
default label with a descriptive
name.
For example: In the Decision shape that represents a decision about an approval or rejection,
enter Approved?.
-
Drag the Decision shape onto the canvas, to a position where the decision occurs in the
process.
-
Connect the Decision shape to the process:
-
Drag a connector from a shape that precedes the decision in the process to the
Decision shape.
-
Drag the end point of
the
connector from the Decision shape to the connection point of the shape that follows
the decision on the canvas.
Tip: The Decision shape works correctly when the connector is green.
-
Click the Decision shape.
-
In the Decision shape property panel, define at least one conditional path:
Choices |
Actions |
Create a custom condition |
-
In the When list, select Custom
condition.
-
Click the Configure conditions icon.
-
In the Configure condition window, select a condition, a
comparator, and a value to compare with the condition.
For example: Case status is equal to New
- Optional:
To
define more conditions, click the Add
row icon, and then repeat substep 9.c.
- Optional:
To group the conditions, select comparators from the list.
For example: To make only one condition compulsory, from the list, select
OR.
- Optional:
To reuse the condition in the future, click .
-
Click Submit.
|
Use an existing condition |
-
In the When list, select Existing
condition.
-
In the list of conditions, select a condition.
|
-
In the Go to list, select the shape to which the process
advances when the
case
meets the conditions that you define.
-
In the Otherwise go to list, select the alternative shape to
which the process advances when the case does not meet the conditions.
-
Click Save.
Result: At run time, when the case reaches a decision point, the system
evaluates the conditions. If the case meets the conditions, the process moves to the step that
you defined. If the case does not meet the conditions, the system moves the case to the
alternative step.