'raw'-type to explicitly express that no type-conversion should be done


#1

There are some cases where I get warnings like this one:
2018-06-11 10:24:27,615 [WARN ] DMN-01006 Unsupported type '_list_' for clause. Values of this clause will not transform into another type. [org.camunda.bpm.dmn] [main] [org.camunda.commons.logging.BaseLogger.logWarn(BaseLogger.java:142)] [{}]

Reason for this message is i.e. a rule, that needs to compare two lists, which is done by the cell containing groovy.
in_list.any{["Value", "AnotherValue"].contains(it)}

The type of that column in_list has to be set one not existing (here list), so that no conversion is made. The skript will not work with the default type ‘string’.

I think, that we need a type ‘RAW’ (or maybe ‘json’) to suppress that warning and to tell the engine to explicitly not convert that value.


#2

Hi @shp,

I agree with you. If you don’t want to check the type then no warning should be logged. For example, when you set the type to “” (empty).

Do you want to create a pull request and fix this?

Best regards,
Philipp


#3

Sorry for that late reply:
Actually not. I can use that workaround and wait for you to ‘fix’ this or for myself having some more time to work into this.