Cannot Reference Intent When in Intent Task
Unable to create an Intent Task with an Intent When rule. Therefore, no Intent When rule works.
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.
A defect in Pegasystems’ code or rules.
The Associated Class property was missed in the InRule form.
0% found this useful