NetXMS Support Forum

English Support => General Support => Topic started by: mem16421 on October 05, 2020, 11:34:03 PM

Title: DCI value use
Post by: mem16421 on October 05, 2020, 11:34:03 PM
Is it possible to use a DCI value as a parameter for another DCI?

I have an need where I need a DCI value to be passed to another DCI that runs an external parameter.  I know there are macros like $node_primary_ip but how would I pass another DCI's value as a parameter?
Title: Re: DCI value use
Post by: Filipp Sudanov on October 06, 2020, 12:21:50 PM
You can use %[script_name] macro that is calling NXSL script and returns the output of the script. The script should be in script library. The script should get the value of the DCI.