Question
Last activity: 30 Mar 2017 17:06 EDT
how to create Report Definition Dynamically
hello guys, is there any way to create report definition dynamically for values collected during the case
like for example if the user selects the OperatorID from the dropdown then a report definition has to be created for the OperatorID
plzz help me out thanks in advance
***Updated by moderator: Lochan to update Categories***


Pegasystems Inc.
IN
Thanks Shanthini_Charles
Actually my question is can we create a report definition dynamically,but not running the report dynamically as per ur example what i got to know is you are trying to run the report definition dynamically but my question is can we create a report definition dynamically
Take this senario think there is no report definition for the operator id created under Data-Admin-Operator-ID my requirement is when the case is running if the user selects the OperatorID from the AutoComplete and after pressing submit a NEW report definition for OperatorID must be created dynamically which must list down all the available operator Id's in my application


Pegasystems Inc.
US
This is shouldn't be too hard and is basically built into the idea behind reports. What you'll need to do is have you report filter on your given criteria. Then to make the filter criteria one step even more dynamic, you can pass parameters to your report.
Use something like Assign-Worklist pyAgeByAssignee as an example. In that report we're filtering based on a specific pxWorkGroup. Currently it grabs the requestor's work group, but you could theoretically make this a passed parameter as well.
Thanks Rett_Hean
Consider this senario think there is no report definition for the operator id created under Data-Admin-Operator-ID,my requirement is when the case is running if the user selects the OperatorID from the AutoComplete and after pressing submit a NEW report definition for OperatorID must be created dynamically which must list down all the available operator Id's in my application


Pegasystems Inc.
US
There are a few applications I know of which dynamically create report definitions. A catch with doing this is that a report definition is a rule and not a work object, which means that any user who you want to be able to create new report definitions will need to be able to create rules. Having additional users with the ability to create new rules would increase the complexity of your application's authorization model. Also, in my experience, the dynamic creation of new rules tends to be more difficult to maintain than the use of an existing rule to which you pass parameters. I would suggest looking into the options suggested earlier about passing parameters to an existing report definition as it will likely be the better long term option.
Hi Saikirang,
To satisfy your requirement you can try using a custom filter section for Report definition and render the report based on your operator ID selection.
In my case I have tried to add custom filter with Date and render a report.
Please check the attachment if it works for you.
Regards,
Shanthini Charles