Is it possible to get the output of an automation script without having a user to trigger said automation script?
I know this is an option: https://docs.dataminer.services/user-guide/Basic_Functionality/Visio/linking_shapes/Linking_a_shape_to_an_Automation_script.html#passing-automation-script-output-to-session-variables
However i want to have a process in the background that checks if a certain automation script is running and then set an session variable to warn other users that it is running.
But when i trigger an automation script from the automation page this session variable doesn't update, only when started from a visio
Hi Gerwin,
As far as I know, it's currently not possible to know if an automation script is running.
I'm not sure if that is really required though. At the start of your script you can set a parameter or property to a certain value to indicate that the script is running. At the end of the script you can reset said parameter or property.
In your Visio you can now check the value of the parameter or property to see if the script is running. You could use the [Property:] or [Parameter:] for this.
Note that there are probably a lot of ways of saving the state of the running script. Using a property or parameter is probably easiest since you can directly retrieve them in your Visual Overview using the above placeholders.
Hi Gerwin,
If you want to have a general overview you can use connector Skyline Automation Performance Monitor. Note that the list of active automation scripts is only refreshed on timer base.
In your specific use case I would suggest to use the approach mentioned by Sebastiaan.