MaartenBPM Member since 2013 10 posts
BPM Company
Posted: 1 month ago
Last activity: 1 week ago

Best practice for changing a class from a data transform?

What is the best practice way of changing a class from a data transform? I want to specialize a class based on a property value.

If you hard set the pxObjClass from the data transform, you get a severe warning: Setting the pxObjClass property will change the class of the containing page. This is not a recommended best practice.

However, I've seen this as an example during an e-course.

Alternatives in my knowledge are:

- Using an activity in stead of DT with the Page-Change-Class method: This will also give warnings for using an activity;

- Using a function to call a generic activity 'ChangeClass' that only changes class using the Page-Change-Class giving in a param.

Pega Platform Case Management Other Industry Lead System Architect
Share this page LinkedIn