Skip to main content

Debugging when rules with the Tracer

Suggest edit Updated on November 15, 2021

If your when rule does not give you the results you expect and you cannot determine the problem by running the rule and examining the clipboard pages, run the Tracer tool. With the Tracer, you can watch each step in the evaluation of a when rule as it occurs.

  1. Click Tracer on the developer toolbar in Dev Studio.
  2. In the Tracer window, click Settings.
  3. In the Event Types to Trace section, select When rule.
  4. Select the ruleset that contains the rule to be traced. Clear the other rulesets to avoid memory usage from tracing events occurring in other rulesets.
  5. Click OK.
  6. Return to the main portal and run the when rule.
  7. Watch the Tracer output as the rule runs.
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

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