# Multiple reports with single schedule based on parameter

**URL:** <https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613>\
**Category:** Ignition\
**Created:** [November 13, 2020, 1:10am UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613 "2020-11-13T01:10:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael2](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@michael2](https://forum.inductiveautomation.com/u/michael2)\
**Post date:** [November 13, 2020, 1:10am UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/1 "2020-11-13T01:10:35Z")

</div>

Hi,

I was just wondering if it was possible within the reporting component to run a report for several values of a single parameter using a single schedule? I’d like to generate 6 reports for each instance of a device and currently have 6 schedules to do this.

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [September 27, 2021, 2:26pm UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/2 "2021-09-27T14:26:54Z")

</div>

Hello, good morning.

I have the same question, I have several email reports and I want join them in a one report and/or email.

Thank you.  
Best regards.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 27, 2021, 4:08pm UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/3 "2021-09-27T16:08:14Z")

</div>

You can’t/shouldn’t do this directly within the report’s scheduling options, but if you’re on Ignition 8.1.6 or later, you could use a [gateway scheduled script](https://docs.inductiveautomation.com/display/DOC81/Gateway+Event+Scripts#GatewayEventScripts-GatewayScheduledScripts) to call [`system.report.executeReport`](https://docs.inductiveautomation.com/display/DOC81/system.report.executeReport) as many times as needed to generate your reports as binary PDF data, then use [`system.net.sendEmail`](https://docs.inductiveautomation.com/display/DOC81/system.net.sendEmail) and attached your report bodies.

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [September 28, 2021, 6:47am UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/4 "2021-09-28T06:47:34Z")

</div>

Hello, thank you for your answer.

I have Ignition 8.0.16, Are there any solution?

Best regards.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 28, 2021, 2:17pm UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/5 "2021-09-28T14:17:46Z")

</div>

You can use the same pattern (calling `executeReport` and `sendEmail`) still in 8.0.16, but there’s no great place to ‘house’ your script.

To get access to the convenient scheduling of reporting, you could create a ‘fake’ report (or ‘fake’ schedule) that doesn’t actually do anything, just runs a script action at a particular time. Or you could make a gateway _timer_ event that runs at a consistent rate, and checks if it’s the ‘right’ time to launch execution - effectively the same as a scheduled script, just a bit harder to set up.

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [September 30, 2021, 6:16am UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/6 "2021-09-30T06:16:14Z")

</div>

This is the solution:

> [@Multiple reports with single schedule based on parameter](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/5):
>
> You can use the same pattern (calling executeReport and sendEmail) still in 8.0.16, but there’s no great place to ‘house’ your script. To get access to the convenient scheduling of reporting, you could create a ‘fake’ report (or ‘fake’ schedule) that doesn’t actually do anything, just runs a script action at a particular time. Or you could make a gateway timer event that runs at a consistent rate, and checks if it’s the ‘right’ time to launch execution - effectively the same as a scheduled scri…

Thank you.

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [September 30, 2021, 10:09am UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/7 "2021-09-30T10:09:50Z")

</div>

Hello again.

Other question about this topic, is it possible join differents documents pdf on a one?

Thank you.  
Best regards

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 30, 2021, 3:09pm UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/8 "2021-09-30T15:09:19Z")

</div>

Not directly within Ignition. PDFs are complicated.  
There’s lots of options for merging PDFs, I can’t speak to any particular one. This thread on SO is Linux-focused, so may not be helpful, but some of these tools may be available on Windows:

> <https://stackoverflow.com/questions/2507766/merge-convert-multiple-pdf-files-into-one-pdf>

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [October 1, 2021, 6:59am UTC](https://forum.inductiveautomation.com/t/multiple-reports-with-single-schedule-based-on-parameter/40613/9 "2021-10-01T06:59:37Z")

</div>

Perfect.

Thank you.
