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.

Debugging when rules with the Tracer

Updated on April 5, 2022

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.

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