I want to create Report Definition rule Dynamically so that I can create more generic report definition that is appropriate to take assignment data as input and query the database based on the user input by creating a report definition dynamically instead of pre assuming the inputs and the results . Is it possible to create a rule dynamically in pega?
You can also look at the activity pxRetrieveReportData which takes pyReportPageName as a parameter. Through this parameter, we can pass the name of a page of type Rule-Obj-Report-Definition containing full information of the report that we want to run. In this case, we don't even need a physical RD present in the system.
Posted: 4 years ago
Posted: 8 Dec 2017 3:28 EST
Ujjwal Kumar Shukla (UjjwalShukla_GCS)
Senior Manager, Technical Support
I think for you requirement you may not need Report at all.
RDB methods would be a better option and even OBJ browse if it applies.
You may be able to create a rule using pxCreateRecord activity but you may not be able to configure it dynamically.
Purpose of Reports is to query and show results in a known structured way.