Support Article
Unable to create an Intent Task with an Intent When rule
SA-68141
Summary
Unable to create an Intent Task with an Intent When rule.
Error Messages
This record has 2 error(s) in 1 place(s) . Intent— com.pega.pegarules.pub.database.BadClassDefinitionException: 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
- Create an Intent task in a Data class; Task Class: Starting Flow: Show in list of Available tasks.
- Create an Intent When rule in the Work class and write the logic
- Refer the Intent When rule in the Intent task
- Click the Save button on the rule form
Root Cause
A defect in Pegasystems’ code or rules. The Associated Class property was inadvertently missed in the InRule form.
Resolution
Apply HFix-48739.
Tags:
Published January 31, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.