Last DCI value in event mesagge
-
-
You can write a simple NXSL script which will return DCI value and use it in message template via %[] macro. For example, you can create script called "LastValue" with the following code:
return GetDCIValue($node, $event->parameters[5]);and then use macro %[LastValue] in message template to insert last value of associated DCI in threshold violation events.
Best regards,
Victor -
-
Hi Victor, could you complete this event-specific parameters table?
$event->parameters[1] -> DCI Data parameter
$event->parameters[2] -> DCI description
$event->parameters[3] -> ??
$event->parameters[4] -> ??
$event->parameters[5] -> DCI ID
$event->parameters[6] -> ??
$event->parameters[7] -> ??Thanks in advance.
-
Hi!
For threshold violation events, it is:
1) Parameter name
2) Item description
3) Threshold value
4) Actual value
5) Data collection item ID
6) InstanceFor threshold rearm event:
1) Parameter name
2) Item description
3) Data collection item ID
4) Instance
5) Threshold value
6) Actual valueFor standard events, you can find list of event-specific parameters in event description (accessible via event configuration view).
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login