# Blank Emailed Report

**URL:** <https://forum.inductiveautomation.com/t/blank-emailed-report/67866>\
**Category:** Ignition\
**Created:** [December 21, 2022, 4:46am UTC](https://forum.inductiveautomation.com/t/blank-emailed-report/67866 "2022-12-21T04:46:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![G\_S\_I](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@G\_S\_I](https://forum.inductiveautomation.com/u/G_S_I)\
**Post date:** [December 21, 2022, 4:46am UTC](https://forum.inductiveautomation.com/t/blank-emailed-report/67866/1 "2022-12-21T04:46:46Z")

</div>

I am working with an existing report. I configured an Email action and report gets emailed fine with all the data on it. I tried doing two Run Script actions and the reports gets emailed but with no data. They appear just like in the Preview (image attached). Attached are the codes I have for the two Run Script actions. Is there anything I am missing?

Also, is that how the preview is supposed to show up or could there be something wrong with the  
report design? I am not sure how it is supposed to look. The only report I have done from scratch was when I did the Ignition Core Test and that was almost 2 years ago.

 ![Code](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/7/17179409cd0dad316933ee4bfe67a4c3807610b6.jpeg)  
 ![Code2](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/1/f10cfde7bcb7c5803784042459a46bd22cd42960.jpeg)  
 ![Report Design](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/7/37111a3504d762664fa1c7c115d32ed6d749da92.jpeg)  
 ![Report Preview](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/1/81b7afdf5abb60eb370d75b2743a51890a0877e2.jpeg)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 21, 2022, 2:15pm UTC](https://forum.inductiveautomation.com/t/blank-emailed-report/67866/2 "2022-12-21T14:15:28Z")

</div>

Your indentation in `handleFinishedReport` is wrong. Have you been getting errors in your logs or console?

---

<div class="post-metadata">

**Author:** ![G\_S\_I](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@G\_S\_I](https://forum.inductiveautomation.com/u/G_S_I)\
**Post date:** [December 23, 2022, 2:17am UTC](https://forum.inductiveautomation.com/t/blank-emailed-report/67866/3 "2022-12-23T02:17:37Z")

</div>

Sorry, can you explain more the handleFinishedReport issue. No I don't have any errors in the logs.

---

<div class="post-metadata">

**Author:** ![G\_S\_I](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@G\_S\_I](https://forum.inductiveautomation.com/u/G_S_I)\
**Post date:** [December 23, 2022, 2:33am UTC](https://forum.inductiveautomation.com/t/blank-emailed-report/67866/4 "2022-12-23T02:33:35Z")

</div>

I feel like there is something weird with the table because all the data in the table is not showing up.
