You are here: Case management > Process modeling > Flows > Defining the end logic of a flow

Defining the end logic of a flow

You can use the End shape to signify the points at which a flow stops processing. By defining these events, you can make it easier for developers to understand the logic in your flow.

Note: Because the End shape is optional, flow processing stops when any shape without outgoing connectors, excluding assignments, is reached.

  1. Add the End shape to your flow.

    Your flow can have more than one End shape, based on the different paths that you define.

  2. Optional: To take an action, such as setting a status or raising a ticket when the flow ends, double-click the End shape and enter values in the property panel.

  3. Hover on an existing shape in the flow and drag a connector from it to the End shape.

  4. Click Save.

At run time, the flow stops processing when the End shape is reached, and the case is saved unless it is a temporary case. If your flow was called as a subprocess from another flow, processing continues in the calling flow.

Previous   Next