It is normal that the declared userdata data cannot be called in the action arguments.
e.g. In the above example, if I have defined a userdata named "abcde" in a rule block, it is not possible that an Action would get the value and uses it as the argument value.
A userdata is created as an environment variable after the action has been prepared to run. If you want to use the userdata, you need to call it from a script file that is fired from an Action.
In the above example, I would need to modify my bat script in order to get use the 'abcde' . e.g.:
In my test.bat: