Shahbaz Rasti (ErshaRas)

ErshaRas Member since 2018 18 posts
Posted: April 24, 2018
Last activity: April 25, 2018
Posted: 24 Apr 2018 10:40 EDT
Last activity: 25 Apr 2018 6:41 EDT

Cannot run a data transform from a different class in a data table

Situation (see also attachements):

  • I have a data transform (called: Btw21Berekenen) rule under my work class.
  • In my work class I have a section whit a table layout in it which shows a page list from my data class

I want to call the data transform whenever a certain field in my table changes (screenshot 1). I've set up an action set with 'change' event which runs a data transform. Since the page context of my table layout is my data class, i've added my work class in Pages & Classes (called WorkPage) of my section and within the action set I've specified this page (see screenshot 2) to call the data transform. The data transform is visible within the action set and I can save my section without any error.

But once I run the section and I change the value of the field I get an error to contact the system administrator. In the tracer I see the following java error (see screenshot 3):

Failed to find a 'RULE-OBJ-MODEL' with the name 'BTW21BEREKENEN' that applies to '@baseclass'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'BTW21BEREKENEN' defined in the rulebase are:
1 related to applies-to class '@baseclass', but were defined on subclasses: 'TAXON-Cons-Declareren-Work-MedewerkerDeclaratie'.

What is causing this issue? It seems that in the runtime Pega searches for the data transform in the baseclass instead of the specified WorkClass (WorkPage). Is this a bug?

Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.