Trigger Report on Central Gateway from Edge Client

Hello all,
I am trying to find a clean way to execute the generation of a report on a central gateway server from a trigger originating from an Edge client project. All the data that will be used for the report is stored on a Tag Historian database on the central, using store and forward from the Edge, and I would like to not have to have a Realtime Tag Provider of the Edge tags on the central, if at all possible.

The only way I can really think of is to make the trigger on the Edge a History tag, and run a scheduled script on the central to see if there is a new entry in the Tag Historian, and execute the report generation. I would also need to store that value in some way to use to compare against the next change, such as in a memory tag, and do a simple comparison in the script to trigger the report.

I appreciate any help!

-Taylor

If you've got Edge Compute:
https://docs.inductiveautomation.com/display/DOC81/system.util.sendMessage

If you don't... you're sort of out of luck, because you're butting up against one of the intentional limitations of Edge; without Compute, there's no way to run scripts on the gateway at arbitrary times.

2 Likes

Yes we have Edge Compute, I will take a look at messaging between gateways.
Thanks!