Hi,
I have probably 2 easy problems I can't seem to solve (still new).
1. I want to route a status 500 to Failure. Not retry. The response contains
a JSON message.
2. Currently, I am routing the InvokeHTTP Retry with code 500 to
AttributesToJSON to pull the response JSON from "invokehttp.response.body" and
put it as the flow file. However, it does not work the way I expect.
* I want the response body to become the flow file. Instead I get
* { "invokehttp.response.body": "my json encoded json response" }
* I do not want the outer "invokehttp.response.body" field
3. I then tried to unwrap this using SplitJSON, but I cannot seems to use
this JSON path
* $.invokehttp.response.body - Because the dot notation used by Nifi has
different semantics to JSONPath.
Any easy fixes to these conundrums?
thank you!
D