Question
Itáu
BR
Last activity: 18 Nov 2024 15:37 EST
Dynamic Class Assignment for pyWorkPage in Reusable Activities
I have a case type that calls an activity. In the activity, I use pyWorkPage as specified in the Pega Academy documentation: https://academy.pega.com/topic/pyworkpage/v1/in/2906/2986
Since I am using the Constellation version, I need to declare the page in Pages & Classes, where I configure:
Page name = pyWorkPage
Class = XX-Xpto-Work-Vehicles
Up to this point, everything works as expected.
Now, I need this activity to be reusable across multiple case types. Is there any way or property that would allow the pyWorkPage class to change dynamically according to the case type that calls the activity?
Is this possible?