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.

Excluding work class properties from form and case type tests

Updated on April 5, 2022

Exclude properties in your work class from the test by modifying the pyDataCapturePropertyIgnores data transform.

Some properties, like .pyID, are not processed when a Pega unit test case is run. These properties vary for every test run. The pxDataCapturePropertyIgnore data transform displays the properties that Pega unit tests do not process.

  1. Open the data transform:

    1. In the navigation pane click AppClasses, and enter Work- in the Search field.

    2. Expand Data Model > Data Transform and then click pyDataCapturePropertyIgnores.

  2. Save the data transform to your Work- class and in your test ruleset.

  3. For each property that you want to exclude in the data transform, do the following steps:

    1. On the Definition tab, click the Add icon.

    2. From the Action list, select Set.

    3. In the Target field, enter the property that you want to exclude.

    4. In the Source field, enter two double quotation marks, separated by a space: " ".

  4. Save the data transform.

  • Previous topic Data that you can record for flows and case types
  • Next topic Defining expected test results with assertions

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. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us