Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Trying to attach report to notification by using syntax \${report:reportID:sysid of report}

peshwen
Giga Contributor

Hi All,

I am trying to attach report to notification by using syntax ${report:reportID:sysid of report}. File is getting attached in PDF format. But we need in excel format. Is there any way to do this?

Thanks in Advance.

1 ACCEPTED SOLUTION

bubuprasadswain
Tera Guru

please try :


${report:reportID:sys_id:output_type:.xls}



Mark Correct if this solves your issue and also hit Like and Helpful


Regards,


Bubuprasad


View solution in original post

5 REPLIES 5

BALAJI40
Mega Sage

Hi Nikhil,



Is it is scheduled report, go to scheduled reports, change the type to excel in drop down.


bubuprasadswain
Tera Guru

please try :


${report:reportID:sys_id:output_type:.xls}



Mark Correct if this solves your issue and also hit Like and Helpful


Regards,


Bubuprasad


Hi I have the same issue but I want sys_id to be dynamic.

${report:reportID:${variables.report_name.sys_id}:xls}

Could you please help.

I have a similar use case, to fetch sys_id using ${event.parm1} is it possible. 

${report:reportID:${event.parm1}:output_type:.xls}

Its attaching a null report. Can someone please help me.