Difference between revisions of "NXSL:GetDCIValueByDescription"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Get last value of DCI with given name on given node. == Syntax == GetDCIValueByName(''node'', ''description''); == Parameters == :{| |- | ''node'' || [[NXSL:No...")
 
m
Line 1: Line 1:
__NOTOC__
__NOTOC__
Get last value of DCI with given name on given node.
Get last value of DCI with given description on given node.





Revision as of 23:36, 21 April 2012

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


Syntax

GetDCIValueByName(node, description);


Parameters

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


Return Value

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


Examples

GetDCIValueByName($node, "Status")	->	0