I have a report with a run script action setup that I want to invoke using system.report.executeReport()
. I don’t need to distribute the report, just force run the script the report contains. When I execute the report, nothing happens and no errors in the logs. If I manually run the script from inside the report, it works fine. So I’m wondering if the script is even executing when calling system.report.executeReport()
.
If it doesn’t, I guess I could setup a shared script and call that from the report script and anywhere else I need it. Still curious on why executing didn’t run the script.