NXSL:GetDCIValue

From NetXMS Wiki
Revision as of 21:39, 21 April 2012 by Victor (talk | contribs) (Created page with "__NOTOC__ Get last value of DCI with given ID on given node. == Syntax == GetDCIValue(''node'', ''id''); == Parameters == :{| |- | ''node'' || Node object....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get last value of DCI with given ID on given node.


Syntax

GetDCIValue(node, id);


Parameters

node Node object. Predefined variable $node can be used to refer to current node in transformation script or event processing policy rule.
id DCI ID.


Return Value

Last value for given DCI or null if DCI with given ID does not exist or has no collected values.


Examples

GetDCIValue($node, FindDCIByName($node, "Status"))	->	0