Skip to main content

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.

Support Article

Cannot Reference Intent When in Intent Task



Unable to create an Intent Task with an Intent When rule. Therefore, no Intent When rule works.

Error Messages

This record has 2 error(s) in 1 place(s) . Intent— Attempting to access a rule with a bad defined-on class: Trying to open rule "<when rule name>" of class "Rule-PegaCA-Intent-When", but no defined-on class (pyClassName) was specified.

Steps to Reproduce

  1. Create an Intent task in a Data class; Task Class: Starting Flow: Show in list of Available tasks.
  2. Create an Intent When rule in the Work class and write the logic.
  3. Refer the Intent When rule in the Intent task.
  4. Click the Save button on the rule form.

Root Cause

A defect in Pegasystems’ code or rules.
The Associated Class property was missed in the InRule form.


Apply HFix-51109.

Published August 15, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us