Triggering a schedule by event, not time
I have created a schedule to run my report every x minutes/hours/days/etc. and it's working perfectly.
But is there a way to trigger the report to be run on an event instead? For example, I have a stored procedure to aggregate a large amount of data, and persist the results in MongoDB for faster retrieval.
How would I trigger my report to run only when the data is "ready". Depending on many factors, the data would not always be available at the same time each day.
Can't you trigger the normal API call from within your app/client?