You are here: Case management > Process modeling > Creating a flow

Creating a flow

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.

  1. Create the rule that stores the flow.

    1. In the header of Designer Studio, click + Create > Process > Flow.

    2. On the Create form, enter values in the fields to define the context of the flow.

    3. Click Create and open to open the Flow form.

    4. 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.

    5. Click Save.

  2. 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.

  3. Optional: Enhance your flow with advanced functionality.

    1. Add alternate paths to the flow.

    2. Call external resources from the flow.

  4. Integrate the flow with your application by using one of the following techniques: