I'm having a simple alert (for POC, so checking with _internal data) and on alert action there is 'add to triggered alerts' and 'run a script'. I'm able to see the triggered alerts, but the .bat file doesn't seem to run. I'm able to run it manually, but not through the alert action.
I've placed my try.bat under $splunkhome$/bin/scripts folder. While checking for "try.bat" in index=internal, i get the below event: