Flow Marker
rules
|
Because flow markers exist only in the context of the flow rule they are created in, the New window for a flow marker opens only when you click the Save Flow Marker button while running a flow. In the New window, you enter a name and a short description; the name that you enter is stored as the Purpose key part of the flow marker rule.
You must have the AutomatedTesting privilege to be able to create flow marker rules. For information about how to enable this privilege, see About Automated Unit Testing.
When stored, a flow marker rule has three key parts:
Field |
Description |
Class Name |
Read only. Set to the type of the rule being tested; here, Rule-Obj-Flow, because flow markers are for flow rules. |
InsName |
Read only. Set to the pxInsName value of the flow rule to which this flow marker applies. |
Purpose |
Set to the Flow Marker Name that is specified in the New window when the flow marker rule is saved. |
Create a separate RuleSet to hold flow marker rules, typically the same RuleSet as your test case and unit test suite rules, rather than using a RuleSet that will be moved to a production system. For more information, consult the articles in the Testing Applications category in the Pega Developer Network.
For general information about the New form, see Completing the New Rule dialog box.
As with most rules, when you search for a flow marker rule, the system shows you only those rules that belong to a RuleSet and version that you have access to.
Flow marker rules are associated with a single tested flow rule (identified by the second key, InsName) and they cannot be qualified by time or circumstance.