Invoking a Saved report with Parameters

agulati
Kilo Expert

Hi,

I have created a report on incident table and want to run that dynamically by passing assignment group dynamically. Is there a way to do that?

Thanks

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Aman,



You can add the filter in the report as Assignment group is javascript:getMyGroups().....In this case it will run the report on group which the user belongs to.



I hope this helps


Hi Pradeep,



Thanks. I know that i can user the current user id and group id. but in my case i want to call this from incident page based on the assignment group in the incident which will be different for different cases.



Thanks


Aman


Hi - Could you clarify your request some more please? Would you like to view all other incidents for that assignment group while looking at a specific record, the list view, or from the report application?


Hi Kailey,



I have created a report on a custom table ( one of the column in the group). I want to run this reports from the Group details page and pass the particular group id to that report to show the report-data only for that report.



Thanks


Aman Gulati