<bean id="runScript" parent="script">
These script actions can be exposed to the user via share-config and action forms. However, unlike Java actions, it’s not possible declare and pass in additional parameters that can be used by the script. This means you have to create a unique script for every variation of the script behaviour and also limits the use to simple actions (you can’t pass in parameters from the action form).
This task is to add the ability to (optionally) pass in parameters as args to script actions via the share action config (share-config-custom.xml) and/or as parameters exposed and captured from the action forms UI. Note, Java actions already support support this.