Difference between revisions of "NXSL:FindDCIByName"

From NetXMS Wiki
Jump to navigation Jump to search
m (Text replacement - "^" to "{{deprecated}}")
 
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Find DCI by name (search is case-insensetive).
Find DCI by name (search is case-insensetive).



Latest revision as of 18:13, 13 September 2022

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Find DCI by name (search is case-insensetive).


Syntax

FindDCIByName(node, parameter name);


Parameters

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


Return Value

DCI ID on success or 0 if DCI with matching name was not found.


Examples

FindDCIByName($node, "Agent.Uptime")	-> 5   /* perhaps */
FindDCIByName($node, "bad")		-> 0