Configuring case status assertions

You can configure a case status assertion on a flow or case type to verify the status of the case.

Complete the following steps:

  1. Open the Pega unit test case if it is not already open.
  2. Complete one of the following actions:
    • To add a new assertion, click Add expected result at the bottom of the page.
    • Modify an existing assertion.
  3. From the Assertion type list, select Case status.
  4. Select the comparator from the Comparator list.
  5. In the Value field, press the Down Arrow key and select the case status.
  6. Optional: To add a comment, click the Add comment icon, enter a comment, and click OK.
  7. Click Save in the rule form.