Back Forward Flow form
Editing in Visio — FlowEnd tasks

About Flow rules

Purpose

Define an end of the flow by dragging the FlowEnd shape (FlowEnd) to the diagram and dropping it. A flow may contain none, one, or multiple FlowEnd shapes.

When processing reaches this shape, no further processing by this flow rule occurs. If this flow was called as a subflow by another flow, processing continues in the calling flow.

The work object may remain open when it advances to a FlowEnd shape. Processing in a separate flow may advance the work object farther toward eventual resolution.

Flow processing automatically saves the work object (using the Obj-Save method) when a FlowEnd shape is reached, unless the work object is temporary.

To Add a FlowEnd shape

1. Drag the FlowEnd shape from the stencil and drop it on the flow.

2. Optionally, complete the End Properties panel.

Field

Description

Name

Enter descriptive text for this FlowEnd task . Choose a name meaningful to application users who see this on the work object history display and the Where-Am-I? diagram. . For example, Application Completed.

The task name is only descriptive; it does not affect runtime execution of the flow. This name also appears inside the FlowEnd shape on the Diagram tab.

Status

Optional. Enter a literal constant that indicates the outcome of the flow when this FlowEnd shape is reached. When the current flow is a subflow, the system returns this value to the calling flow, which can accessed the value in a connector.

If a flow rule contains two or more FlowEnd shapes, they may return the same or distinct status values.

For example, a subflow can include two FlowEnd shapes with status values Success and PartyNotFound. The calling flow can contain two outgoing connectors from the FlowStart shape, one to match each of these two outcomes.

3. Click  Apply   when done.

4. Connect at least one other shape to the FlowEnd shape.

Note Although using the FlowEnd shape is recommended for clarity, a flow rule may contain no FlowEnd shapes. Technically, a flow execution ends when processing reaches a shape that has no outgoing connectors. This may be any shape except an assignment shape.

TipAs a best practice, include at least one FlowEnd shape in every flow, and connect each ending shape to it. Avoid creating flows that have execution end at other shapes, as this can be a source of (human reader) confusion.

zzz About Flow rules