Hi Dojo,
On the correlation menu, the only thing close to executing an action when a correlation ends seems to be "Add action > run script" and having the "Execute on clear" activated. Though, if my understanding is correct, then it will make the script being executed both on start & on end of the correlation.
My question is, is it possible to have a script being executed ONLY at the end of the correlation.
Thanks,
Géry
Hi Géry,
In your automation script, you should be able to determine that by using the special parameter 65002 as described here: Special parameters available in Automation scripts | DataMiner Docs.
When used in combination with Method GetScriptParam | DataMiner Docs, you will get a string with a value of either "up" or "down", depending on whether the correlation rule was matched or cleared.
Thank you João.
If I understand it correctly, the solution is to have the script being executed both at the beginning and at the end of the correlation. Except that in the script itself, you add a condition "correlation needs to be down" making it being correctly executed only when the correlation ends, and have no effect when it starts.
Thanks for the confirmation, my understanding of the feature was the right one and I already imagined a solution like this, better safe than sorry though.