If you configure Global Notification for Script, you may face an issue to execute the script even though the ESA rule is fired. In this case, It is hard to find the root cause because there is no error message appeared regarding this issue. There is a document on how to configure("Configure Script as a Notification" in the System Configuration Guide), but it is not enough to cover this topic.
To configure successfully, you need to consider followings 1. You can use "Default Script Template" as a template. 2. UI pop-up appears when you define script as shown below "Script will be saved to /opt/rsa/esa/scripts" but it is actually saved to mongo db since 11.3. Image description 3. You must locate the script under /tmp, otherwise script will not execute. 4. In case of bash shell, you can use following syntax(echo $*) to get all ESA parameters below and this is sample script output. Image description