When I have an automation script that launches another sub automation script, can I pass/return data from my sub script to my 'parent' script? E.g. in case there's an exception in the subscript.
Hi,
To emphasize the answer of Mieke:
A request is sent to the server for starting an Automation script.
When that script is finished/completed, then a response is sent back, namely 'ExecuteScriptResponseMessage'.
Such response message has a property called 'ScriptOutput':
So it can not only used for communications between scripts, but it can also be used to communicate to the 'executioner' of the script.
Otherwise said: you can actually use scripts now as functions: you start with given arguments (dummies, parameters, memory files) and you end with return values.
A nice example in Cube is the 'Automation script session variables' feature (RN 27895).