Any setDCIValue?

Started by jdl, November 06, 2014, 05:54:16 PM

Previous topic - Next topic

jdl

Hi,

Is there any function similar to setDCIValue?

That could be useful while executing a script attached to an event policy to define the next value of a DCI based on event parameters and/or last DCI value (or some other DCI values) for example. Unless this can be done differently.

Br,
Jdamien

jdl

Ok using nxpush as action within an external Perl script for example.
But what if you would need to perform this type of action from within a script?

Victor Kirhenshtein

Hi,

currently it's not possible in a straight way. In not very straight way, it could be like call PostEvent from script, put an external script action for this new event, and use nxpush from that internal script.
There is a feature request for push data function in NXSL. Most likely it will be implemented in 2.0-M1 or 2.0-M2.

Best regards,
Victor