Hey Dojo,
I'm working on a driver that creates a script that sends an email with a dashboard report. When I execute it from the element, it will update the script with any changed values in the script, wait a second, and then execute the updated script. The issue is that the script has been failing when I trigger it from the element, but when I go directly to it in Automation and execute it manually, it works perfectly fine. I'm wondering if anybody else has had a similar issue and how they resolved it.
Here is what one of the scripts looks like:
How we are executing it in code:
Thank you for your help,
Bauti

Hello Jorge, I'm not getting any error on the element, but I can see the script fails in Information Events. It just says "Script Failure (WKAQ – PR – Main Site Mon Daily Report): Failed to send report: 0x80131500h"
Hi Bautista,
Could you confirm if the agent that his hosting the element has SMTP configured?
There is a chance that the script works from the Automation module if you are accessing cube to an agent that has SMTP configured.
Hi Bautista, could you share the error that you get in the QAction?