Difference between revisions of "NXSL:FindDCIByDescription"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Find DCI by description (search is case-insensetive). == Syntax == FindDCIByDescription(''node'', ''description''); == Parameters == :{| |- | ''node'' || [[NXS...") |
m (Text replacement - "^" to "{{deprecated}}") |
||
Line 1: | Line 1: | ||
__NOTOC__ | {{deprecated}}__NOTOC__ | ||
Find DCI by description (search is case-insensetive). | Find DCI by description (search is case-insensetive). | ||
Latest revision as of 16: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 description (search is case-insensetive).
Syntax
FindDCIByDescription(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
DCI ID on success or 0 if DCI with matching description was not found.
Examples
FindDCIByDescription($node, "Status") -> 4 /* perhaps */ FindDCIByDescription($node, "bad dci") -> 0