JSONPATH Transformation Service vs. JSONPATH

Hello,

Any progress here to let us get the list result of an undefinite transform path in the rules ? (without having to deal with all the messing stuff with exec binding and external tools)

17:28:47.467 [WARN ] [nternal.JSonPathTransformationService] - JsonPath expressions with more than one result are not allowed, please adapt your selector. Result: [“kitchen”,“room”]

I really can’t understand the logic : if what I want is “[“kitchen”,“room”]” and that’s correctly computed by the function, why someone would explicitely want to forbid me to access it ?

Writing an undefinite transformation path is precisely for getting a undefinite result… if I want exactly one result, I write a definite transformation path :slight_smile:

Or at least, could you provide an optional parameter to the transform function, with a default value making the function return NULL instead of the result, and the result otherwise ?

Regards,

Romain