When the LSO script is executed it will configure my resources. One of the resources is linked to a license server and will look if there is a license available. How can I send back the result to my LSO script so that it can continue (license available) or stop (no more licenses available)?
Hi Jens,
On the parent script where you prepare the subscript, you can use
the method "GetScriptResult()" on the ScriptOptions object after running "StartScript()" .
This will return a dictionary<string, string> with the information that was passed through the subscript(s).
Dictionary<string, string> result = scriptOptions.GetScriptResult();
In the subscript you can add ScriptOutput using the engine object:
engine.AddScriptOutput("key", "value");