Is there a way to pass the Surveyor View Name associated with an alarm from Correlation rule to Automation Script Parameter?
We have failover communication path over LTE network for different sites, so when fiber is down, we still have comms to our devices. However, the LTE link is overdriven with the element communications from Dataminer. We have Automation scripts (Interface Up (elements enabled)/Interface Down (elements disabled)) working, which prompts for the View Name and will change the elements in the view state as needed.
What we would like to do now is trigger the automation scripts with a correlation rule on alarm and clear state for the site's router interface. We were not able to see how to send the element alarm View Name from the correlation rule to the automation script parameter.
Hi Steve,
I believe it is possible. If you check the Script Condition Functions, you could use the field [viewname] to pass the view names that contain the element.
Hope it helps.
Hi Miguel,
Thanks that is the direction I needed. The only change was I had to use [field(viewname)]. Once in place, correlation is working as desired.