Skip to main content

11 replies

mikes0011
Brainy
May 28, 2022

You'd need to share the configuration of the node in quesiton - it's rather hard to guess what the issue might be otherwise.  Just as a preliminary thing to check for, though, please note that the primitive function "length()" will fail if given a NULL value (versus an empty set or any other actual populated value).

The Expression Guru
May 29, 2022

stefanhelzle0001
Brainy
May 29, 2022

Do you use the length() function in any place?

jonasv
July 1, 2022

We had this issue as well, and it seems we identified the cause.

What happened was that an underlying expression rule was changed, and instead of returning a CDT , it returned a map that contained the CDT in the .data attribute. The data output Target was of that CDT type (not a Map). So there was a mismatch between the process variable data type and the result of the expression in the data output.

This issue only occurs when the above happens in the Data Outputs of a script task.

If this is done in the Data Inputs, there will be no such error, and I assume the process variable will remain empty.
However, this broke any chaining in the process that passess through this script task. (which was another issue we faced)

So the solution in our case: check the types of the expressions in the data output tab, and make sure they match the process variable