When you create a PegaUnit test case for a flow or case type, the system records the data that you enter.
You can record the following type of information:
Starter and non-starter flows.
Subprocesses that are configured as part of a flow.
The Assignment, Utility, and Approval shapes. For flows, assignments must be routed to the current operator so that the recording of the flow continues and the system captures data as part of the test case.
Data that is captured on the pyWorkPage.
When a flow or case type runs, a pyWorkPage is created on the clipboard and captures information such as data that you enter for assignments. It also captures information such as case ID, date and time that the case was created, and the latest case status.
Three additional assertions that you can configure for flows and case types include case status, assigned to, and attachment exists assertions. For these assertions, the system compares expected values to the value that is recorded on the pyWorkPage.
If you refresh or cancel recording the flow or case type, data that is on the pyWorkPage might not be accurate.
Local actions and flow actions that are configured as part of the flow or case type.
Child cases that are created and finish running before the flow or test case resumes running.
px
or pz
.