# Find coded trigger for report

**URL:** <https://forum.inductiveautomation.com/t/find-coded-trigger-for-report/89396>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 24, 2024, 7:28pm UTC](https://forum.inductiveautomation.com/t/find-coded-trigger-for-report/89396 "2024-04-24T19:28:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [April 24, 2024, 7:28pm UTC](https://forum.inductiveautomation.com/t/find-coded-trigger-for-report/89396/1 "2024-04-24T19:28:21Z")

</div>

How can I find a trigger for a report that does not have a schedule configured. I'm working on a system that someone else designed and there is a vision window button that sets a boolean tag to 1 and this triggers the report. I'd like to find where that tag does this but I haven't been able to do so yet. Any suggestions?

---

<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:** [April 24, 2024, 7:32pm UTC](https://forum.inductiveautomation.com/t/find-coded-trigger-for-report/89396/2 "2024-04-24T19:32:23Z")

</div>

There are three ways to cause a report to execute:

- Schedule

- Viewer

- Script (`system.report.execute...()`)

That last is likely in a tag change script. Possibly on the tag, but likely in a project (gateway event), and likely the same project as the report.

---

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [April 24, 2024, 7:55pm UTC](https://forum.inductiveautomation.com/t/find-coded-trigger-for-report/89396/3 "2024-04-24T19:55:09Z")

</div>

Thanks.

There is no Schedule configure in the report.

I'm not sure what you mean by 'Viewer'.

There are no scripts anywhere that I can find. The previous developer was NOT a programmer, so that doesn't surprise me.

Is there a way to search for the tag usage?

---

<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:** [April 24, 2024, 7:57pm UTC](https://forum.inductiveautomation.com/t/find-coded-trigger-for-report/89396/4 "2024-04-24T19:57:10Z")

</div>

In very recent release of Ignition, there is a tool to track tag usage. But I recommend you first search your project(s) for any use of `system.report.execute` (verbatim). Search everything, including tags, for that. Consider also searching for the name of the report.

A "Viewer" is a UI component (there's versions for both Vision and Perspective) that allow a user to run and review a report in a UI. No scripting.

---

<div class="post-metadata">

**Author:** ![blackdog](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@blackdog](https://forum.inductiveautomation.com/u/blackdog)\
**Post date:** [April 24, 2024, 8:11pm UTC](https://forum.inductiveautomation.com/t/find-coded-trigger-for-report/89396/5 "2024-04-24T20:11:51Z")

</div>

I found it in the Gateway Event Scripts under Tag Change using the search for "system.report.execute", as you suggested.

I guess he did more scripting than I give him credit for (at least someone did).
