Close popover

Table of Contents

Excluding work class properties from form and case type tests

Version:

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 App Classes , 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.

Have a question? Get answers now.

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