You can create a flow to model a business process in your application. As a best practice, create a flow by adding a process to the life cycle of a case type, because this technique is faster, more focused, and easier to maintain. Manually create flow rules for stand-alone flows only.
For more information about processes in a life cycle, see Defining a life cycle for a case type.
Create the rule that stores the flow.
In the header of Designer Studio, click + Create > Process > Flow.
On the Create form, enter values in the fields to define the context of the flow.
In the Label field, enter text that describes the purpose of the flow.
Optional: To change the default identifier for the flow, click Edit, and then provide a unique value in the Identifier field.
In the Apply to field, press the Down Arrow key and select the class that defines the scope of the flow.
The class controls which rules the flow can use. It also controls which rules can call the flow.
In the Add to ruleset field, select the name and version of a ruleset that stores the flow.
Click Create and open to open the Flow form.
Optional: To support a class that is different from the class to which the flow applies, enter a class name in the Work class field on the Design tab of the Flow form.
This approach is helpful when your flow runs on an embedded page that is not in the same class path as the applies to class of your flow.
Click Save.
Add a primary path to the flow by connecting and configuring shapes.
For more information about the different shapes that you can use, see Flow shapes.
Optional: Enhance your flow with advanced functionality.
Integrate the flow with your application by using one of the following techniques: