Flow form — Editing in Process Modeler Swimlane shapes
|
|
C-1630Use Swimlanes
to organize and graphically identify a related group of shapes that are performed within a specific work context (typically a work group) or business purpose. A router activity identified in the lane shape, or specified on the Routing section of the Assignment, is associated with Assignment shapes inside the lane. During processing work items are routed to the appropriate user worklist or workbasket defined by the router. See
router activity.For example, an insurance claim application has one assignment instructing operators to collect customer information, another to verify the information and calculate payments, and a third to issue payments and update financial records. You want each to have its own work group and workbasket. You create three swimlanes named CSR, Back Office, and Fulfillment, in a pool named Insurance Claim Process. Each lane has a router activity associated with the assignments within it. During flow processing, the router assigns the work item to the appropriate workbasket inside the lane.
Swimlanes are not available for screen flows.
Adding a Swimlane
On the flow diagram, you can add a Swimlane to a flow in one of three ways. Validation of the added shapes occurs when you save the flow.
Use the canvas context menu:
- Right-click a blank area of the canvas where you would like the Swimlane to appear.
- Hover over Add on the submenu to display a list of shapes you can add to the flow.
- Click the Swimlane shape to add it to the canvas.
- If your orientation is portrait, the Swimlane is positioned on the right side of the Router Pool. If orientation is landscape, the Swimlane is positioned on the bottom of the Router Pool. Default flow orientation is defined as a user setting, but you can change the Swimlane orientation using icons on the toolbar.
- You can click and drag (by the pool name) to reposition the Router Pool. Click the individual Swimlanes (by their name) to select and reposition the Swimlanes within the Router Pool.
Use the toolbar Flow Shape palette:
- Click the Flow Shape palette on the toolbar to display a drop-down shapes menu that will remain open until you close it, facilitating the process of rapidly adding multiple shapes. Click the window title bar and drag the submenu to another area of the screen, as needed.
- Click and drag the Swimlane shape to the canvas. After the first Swimlane is added to the canvas, subsequent lanes will place according to the lane orientation
- You can also double-click the shape on the submenu, position your cursor where you would like the shape to appear in the flow, then click to place the shape.
- Close the Flow Shape palette at any time.
- If your orientation is portrait, the Swimlane is positioned on the right side of the Router Pool. If orientation is landscape, the Swimlane is positioned on the bottom of the Router Pool. Default flow orientation is defined as a user setting, but you can change the Swimlane orientation using icons on the toolbar. You cannot change orientation after a swimlane is created.
- You can click and drag (by the pool name) to reposition the Router Pool. Click the individual Swimlanes (by their name) to reposition the Swimlanes within the Router Pool.
Use the Flow Shape palette drop-down menu:
- Click the down arrow on the toolbar Flow Shape palette to display a drop-down shapes menu.
- Click and drag the Swimlane shape from the drop-down menu.
- If your orientation is portrait, the Swimlane is positioned on the right side of the Router Pool. If orientation is landscape, the Swimlane is positioned on the bottom of the Router Pool. Default flow orientation is defined as a user setting, but you can change the Swimlane orientation using icons on the toolbar.
- You can click and drag (by the pool name) to reposition the Router Pool. Click the individual Swimlanes (by their name) to reposition the Swimlanes within the Router Pool.
Editing Swimlane properties
- On the flow Diagram tab, open the properties panel using one of the following:
- Double-click the shape.
- Right-click the shape and select Properties from the drop-down menu.
- When the Swimlane properties panel appears, enter a name for this shape to the Swimlane:[Swimlane] heading. The shape name is only descriptive; it does not affect runtime execution. This name also appears inside the Swimlane shape on the diagram. If a name is not specified, the Swimlane will take the name of the optionally-assigned router activity.
- Complete the fields in the Swimlane section described below.
- Click OK to close the panel when you have completed your edits.
Editing the Router Pool
Double-click the pool to display the Pool Properties panel. Enter a title for the shape in the Name field.
Completing the Swimlane section
Complete the following fields.
Field | Description |
Router | Optional. You can select a router activity here. The default Router is ToCurrentOperator. By default, the swimlane Router applies to all assignments inside the lane. Routers defined in Assignments dragged into the lane are overwritten. |
Parameters | The router activity you select may accept input parameters that will appear in the box below. Supply a value for each parameter. PRPC validates these parameter values when you Save. |
Working with swimlanes and router pools
- Dragging and dropping a swimlane — A swimlane may be dragged to a new position within the pool by selecting then dragging the lane. Any shapes within the lane move with it.
- Deleting a swimlane — Select the swimlane frame and delete it. Be careful not to select the router pool frame. If the first or last lane is deleted, the other lanes remain in position. If an interior lane is deleted, the lanes move to close the gap.
Deleting a router pool — If you delete a router pool, all of its lanes are deleted. Shapes in the flow are not deleted.
Deleting a swimlane or router pool does not delete the shapes within it. The shapes remain on the canvas. - Changing the width of a swimlane — Grab the resize handle in the lower right corner of the swimlane to widen or narrow it. The pool will widen or narrow to accommodate the added or removed space. Shapes within repositioned lanes move along with the lane. You cannot change the height of an individual swimlane.
- Resizing a router pool — When you change the width of a router pool shape, all swimlanes change proportionately. The shapes within a lane do not change size. You can adjust the pool's height with corresponding changes to lane heights.
Cut, copy, and paste Swimlanes
Swimlane Orientation and Positioning
- Swimlanes assume the default orientation from the Flow Settings in Operator Edit Preferences. For example, if the orientation is set to
Landscape
, the Landscape orientation icon on the tool bar will be selected. - You can change the orientation using the toolbar icons and, before you create a swimlane. When a pool and lane are created, the swimlane orientations are disabled.
- You can place the first swimlane anywhere on the canvas. Subsequently added swimlanes will place to the right of pools with portrait orientation, and to the lower end of pools with landscape orientation.
- Reposition the pool by clicking and dragging the pool name.
- Reposition lanes within the pool by clicking and dragging the swimlane name.
- An assignment shape assigned to a swimlane will inherit the router assigned to the swimlane.
- When you move an assignment out of the pool, the router is removed from the assignment.
division, organization, organization unit, owner
About Flows