Flow form
|
Define an end of the flow by dragging the FlowEnd shape () 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. CLINIC MARIK 11/29/05
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 of 32 characters or less. Choose a name meaningful to application users who see this on the work object history display and the Where-Am-I? diagram. B-16966. For example, Application Completed. Bug-2983 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 |
C-1375 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.
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. MARIK 3/17/06
As 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. C-1375 pyTaskInfo propertyDELETED WAS No Properties are required.R-3771 11/6/02