Flow Markers — Completing the Create or Save As form

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.

You must have the AutomatedTesting privilege to be able to create flow markers. For information about how to enable this privilege, see About Automated Unit Testing.

> Key parts:

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 flows.
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 is saved.

Create a separate RuleSet to hold flow markers, typically the same RuleSet as your Test Cases and Unit Test Suites, 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 Pega Community.

For general information about the Create and Save As forms, see:

> Rule resolution

As with most rules, when you search for a flow marker, 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.

About Flow Markers