# Report execution: Is it possible to execute a report with the transition of a PLC boolean bit?

**URL:** <https://forum.inductiveautomation.com/t/report-execution-is-it-possible-to-execute-a-report-with-the-transition-of-a-plc-boolean-bit/45392>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [April 8, 2021, 3:34pm UTC](https://forum.inductiveautomation.com/t/report-execution-is-it-possible-to-execute-a-report-with-the-transition-of-a-plc-boolean-bit/45392 "2021-04-08T15:34:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_cadena](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@michael\_cadena](https://forum.inductiveautomation.com/u/michael_cadena)\
**Post date:** [April 8, 2021, 3:34pm UTC](https://forum.inductiveautomation.com/t/report-execution-is-it-possible-to-execute-a-report-with-the-transition-of-a-plc-boolean-bit/45392/1 "2021-04-08T15:34:51Z")

</div>

Hello all, I have configured an email report in Ignition set to execute at midnight daily. The problem is that the production lines at our plant dont always stop at midnight. I wanted to use a PLC bit to signal the end of production and the execution of the report. Not sure if this is possible. Any assistance would be appreciated.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [April 8, 2021, 3:51pm UTC](https://forum.inductiveautomation.com/t/report-execution-is-it-possible-to-execute-a-report-with-the-transition-of-a-plc-boolean-bit/45392/2 "2021-04-08T15:51:18Z")

</div>

[system.report.executeAndDistribute](https://docs.inductiveautomation.com/display/DOC81/system.report.executeAndDistribute) or [system.report.executeReport](https://docs.inductiveautomation.com/display/DOC81/system.report.executeReport), depending on your desired outcome, placed on a gateway tag change event script.

---

<div class="post-metadata">

**Author:** ![michael\_cadena](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@michael\_cadena](https://forum.inductiveautomation.com/u/michael_cadena)\
**Post date:** [April 8, 2021, 4:07pm UTC](https://forum.inductiveautomation.com/t/report-execution-is-it-possible-to-execute-a-report-with-the-transition-of-a-plc-boolean-bit/45392/3 "2021-04-08T16:07:12Z")

</div>

zacht  
Thanks
