Hi ,

I am trying to user the Evaluate Json path processor.
It works fine except when the Value is evaluated to 0, then it throws  an
error


2016-06-24 15:00:56,917 ERROR [Timer-Driven Process Thread-9]
o.a.n.p.standard.EvaluateJsonPath
EvaluateJsonPath[id=475d43ec-549b-4378-81d5-778041558781] Unable to return
a scalar value for the expression
$..['SubwayPOSTransaction']['OrderSale']['SatelliteNumber'] for FlowFile
1519640. Evaluated value was [0]. Transferring to failure.

when i change the ReturnType to Json then it works but it makes the value
[0]

Any thoughts if its an issue or configuration of the processor that is
incorrect ?

[image: Inline image 1]

Reply via email to