Default Report Name

I used the below script with tag change action to execute the report and send it by email in pdf format.

ystem.report.executeAndDistribute(path="MegaReports/POreport", project="Demo1", action= "email", 
actionSettings = {"to":["Test@gmail.com"], "smtpServerName":"EmailNotification", "from":"test@testmail.com", "subject":"Report"})
			  

each report received by email has attached with report name current date (- 8-11-20 4PM ) .
my question, how to make report name dynamic like [TagVlue]+[Currentdate ]

Use the attachmentName parameter.

2 Likes

Thanks Kathy , there are a lot of useful parameter

1 Like