NetXMS Support Forum

English Support => General Support => Topic started by: Tursiops on January 10, 2018, 03:52:23 AM

Title: DCIs and data types
Post by: Tursiops on January 10, 2018, 03:52:23 AM
Hi,

There have been some changes around data types recently and it appears that the data type in a DCI is now both, the expected data type for in- and output.
For some transformation scripts that may not be desirable though. For example data might come in as a string, but the transformation script returns an integer. This integer will now be treated as a string and thus line graphs don't work (just showing "0").

Not sure if it would be possible to allow users to optionally have different in- and output data types?

Cheers
Title: Re: DCIs and data types
Post by: Tursiops on January 10, 2018, 11:55:21 AM
Hi,

Looks like this was fixed in 2.2.2, as per https://www.netxms.org/forum/general/dci-initital-type-conversion-before-translation-rule-works-different-since-2-2-1/.

Cheers