Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Data that you can record for flows and case types

Updated on April 5, 2022

When you create a unit 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 flows. Non-starter flows may be tested from a starter flow that calls on the non-starter flow.

  • 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.

    There are additional assertions that you can configure for flows and case types, including case status, assigned to, and attachment exists. 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.
  • All properties, excluding properties that begin with either px or pz.
  • Previous topic Creating unit test cases for flows and case types
  • Next topic Excluding work class properties from form and case type tests

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us