Difference between revisions of "User talk:Pavels Gurskis"

no edit summary
Line 40: Line 40:


Note, that different set of macros available for Activation and De-activation of alarms. For example, if you use unique DCI ID for alarm generation ('''%5'''), you should use different macro to de-activate this alarm ('''%3''')
Note, that different set of macros available for Activation and De-activation of alarms. For example, if you use unique DCI ID for alarm generation ('''%5'''), you should use different macro to de-activate this alarm ('''%3''')
== NXSL scripting ==
==== Referring scripts from Script Library ====
Calling scripts from Script Library:
myVariable=Name::In::Script::Library/functionName
==== Event Processing Policy ====
Calling Script Library scripts from Action in Event Processing Policy:
%[Name::In::Script::Library/functionName]
NB: you can not pass any parameters when calling scripts from EPP Actions, however you have access to $event and $node object