# Default Report Name

**URL:** <https://forum.inductiveautomation.com/t/default-report-name/37605>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 11, 2020, 2:18pm UTC](https://forum.inductiveautomation.com/t/default-report-name/37605 "2020-08-11T14:18:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamerplc](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tamerplc](https://forum.inductiveautomation.com/u/tamerplc)\
**Post date:** [August 11, 2020, 2:18pm UTC](https://forum.inductiveautomation.com/t/default-report-name/37605/1 "2020-08-11T14:18:40Z")

</div>

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

```auto
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]

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [August 11, 2020, 2:24pm UTC](https://forum.inductiveautomation.com/t/default-report-name/37605/2 "2020-08-11T14:24:08Z")

</div>

Use the `attachmentName` parameter.

---

<div class="post-metadata">

**Author:** ![tamerplc](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tamerplc](https://forum.inductiveautomation.com/u/tamerplc)\
**Post date:** [August 11, 2020, 9:00pm UTC](https://forum.inductiveautomation.com/t/default-report-name/37605/3 "2020-08-11T21:00:36Z")

</div>

> [@KathyApplebaum](#):
>
> attachmentName

Thanks Kathy , there are a lot of useful parameter
