Hello dataminer community,
I wanted to know if there is a function to call and execute an automation from a driver ?
To let you know the context : I am currently working on a driver links to a deicing device. The driver allow us to access to a service in DMS, on this service we can find few buttons, two of them are called "Stop & Start". When I click on them, I would like to call and execute a script/automation which will allow the deicing device to Run or to Stop.
Thanks in advance,
Hugo R.
Adding to the answer above since the documentation doesn't describes in case you need to pass parameters to the script.
In the scriptOptions array you can also have and item with String.Format("PARAMETERBYNAME:{0}:{1}", param.Key, param.Value)
Key is the name of the parameter defined in the automation script
Value the object sent from the protocol to the automation