|
Contents ![]() |
C-1112 A flow rule that presents a user with a sequence of forms to complete is known as a screen flow. This specialized type of flow rules provides an effective way to simplify input processing and present questions or input fields in a series of related forms. Users can change an answer to an earlier question by backing up in the flow; and, in some situations, can complete steps in any order.
To support this style of interaction, a screen flow's Visio flow diagram can contain only these shapes: Replaced "Assignment" shape label with "Screen" for v6.1, R. Norin
Assignment |
![]() |
Fork | ![]() |
Flow |
![]() |
SplitForEach |
![]() |
Connector |
![]() |
Start | ![]() |
Decision | ![]() |
Utility |
![]() |
FlowEnd |
![]() |
Because many business processes require additional shapes, you may need to create a subflow for the screen flow iterations, and call the subflow from an unrestricted starter flow.
Follow these steps to create a screen flow:
The Flow: New dialog box appears.
ScreenFlowStandard
, ScreenFlowBPMN
, or
ScreenFlowTabbed
as the Template
value. Click Create to
create the flow rule. Save the rule. Screen Flow
as the Flow type; in the Flow Rule field specify the screen flow you created. Save the calling flow. Completing the
Start shape panel
Complete these fields in the Start Properties panel.
Field |
Description |
||||||
Name |
Optional |
||||||
Harness |
For an example of the tabbed
approach in use, select
Supporting more than two levels of tabs
1. Copy this rule into your application with a work class as the Applies To key part, keeping the second key part. 2. Update one line in the HTML Source field to specify the number of sublevels desired. For example enter 2 to support three levels of tabs. tools.putParamValue("Levels", nnn); 3. Optionally, update one line in the HTML Source field to specify the name of styles for each sublevel, separated by commas:
tools.putParamValue("ChildNodeStyle",
"style1", 4. Save the HTML rule form. |
||||||
Save Later? |
Check this checkbox to cause the work object and work object history to be committed only once, after users complete the entire screen flow. MARIK 6/30/06 Clear the Save Later? checkbox to let users select a Save local flow action at each point in the flow. After a Save local action, users can continue processing this flow, perform other work, or log off. B-14724 wasn't working
|
||||||
Allow errors? |
This field appears if the Save Later? checkbox is checked. PROJ-278 GROVS Select to allow users to select another entry point when executing a screen flow or a regular flow that includes breadcrumbs control, even when the form (or tab) for the current entry point reflects validation errors. (The user must eventually clear all such errors.) If this option is not selected, users can advance to the next step of a screen flow, or click the breadcrumbs control, only after data in the current tab is valid.
|
||||||
Router |
Complete any input parameters for the router activity. |
||||||
CheckAvailability |
Select to cause the system to check the operator's availability and substitution values before routing to a worklist. VAGUE |
Completing the
Assignment shape panel
Each Assignment shape has only one connector flow action. Complete these Assignment Properties panel for each screen:
Field |
Description |
Name |
Enter the name of the assignment as it appears on the Visio diagram and on the rectangle or tab at runtime. |
Instructions |
|
Flow Action |
Identify one connector flow action. |
Entry Point |
Select to create an entry point for the assignment and allow user processing at runtime to begin or resume at this point in the flow. When selected, if this screen flow presents steps as tabs, at runtime a tab appears with the Name value as a label. Leave cleared to indicate that users cannot return directly to this assignment; users may be able in some cases to reach it indirectly from an earlier assignment. |
Only going back? |
This checkbox appears only when you select the Entry Point? checkbox. Select to restrict users at runtime from jumping ahead to this step without having completed the preceding steps. After having completed this step, users may jump back to it from steps that follow it.
|
Post Action on Click Away? |
Select to cause Process Commander to execute the Validate Rule rule and the After This Action... Run Activity activity (both on the Action tab of the Flow Action form) when a user at runtime clicks a screen flow tab or screen flow tree node to leave this assignment and start (or return to) a different assignment. The post-processing activity can compute additional property values and perform other processing. If the option is not selected, the validate rule does not execute and the post-processing activity does not execute when the user clicks to leave the assignment. 5 GRP-402 PROJ-1350
|
A screen flow rule can call or branch to another flow rule, but only if the other flow rule is also a screen flow rule and uses the same harness rule.
Decision shapes
and fork shapes
Split-ForEach
shapesProj-761 v5.4
Page Group
properties are processed unordered and all
pages are shown.
Buttons for
Back, Next, Submit, and Cancel
C-2029 GROVS At runtime, each assignment task in a screen flow rule presents a button labeled Next>> . When users click this button, processing validates user input and advances to the next assignment. (For tabbed screen flows and tree screen flows, the label on the Next>> button changes automatically to Submit when this assignment is the last one in a flow.) MARIK COHER SR-24622 5/14/09
A <<Back button appears automatically when a user has completed any task that is an entry point.
Optionally, screens can also include a Cancel button. To include a Cancel button:
AddCancel
. Select Boolean
as the
Data Type.AddCancel
parameter checkbox to
cause a Cancel
button to appear.AddCancel
parameter checkbox to
remove the Cancel
button.Withdraw
at an appropriate
place in the calling flow rule. When a user clicks the Cancel button during execution of the screen
flow, a ticket named Withdraw
is activated. Processing
typically continues at that ticket task in the calling flow
execution. REMOVED User inputs before the cancellation are
discarded.MARIK 6/20/06 SR-3697 B-20661 BACKThe standard flow rule PegaSample-CustomerRequest.CustomerFeedback is a screen flow rule. This subflow is called by the NewWork starter flow when all members of the cover are resolved.
The standard flow rule PegaAccel-Task-Harvest.GatherRuleInfo is a tabbed screen flow rule that supports user cancellation. This subflow is called by the PegaAccel-Task-Harvest.HarvestRule flow rule, which supports the rule harvest facility.
Four standard rules support execution of screen flows: