Hi Dojo,
Is there a way to stop an Automation Script that runs in the background without waiting for the timeout time?
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 25th November 2021
Hi Jens,
You can send an 'abort' message' to the server:
ScriptControlMessage abortMessage = new ScriptControlMessage(DataMinerID)
{
ScriptID = scriptID, //this is the running automation script ID
Type = ScriptControlType.Detach // this aborts the script
};
Hope this helps you further
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 25th November 2021