Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Hi everyone!
I have a file that contains a Json array of json objects. My first step is to split this flowfile into many flowfiles and ach one of them has a json object using SplitJson Processor. Then I'm trying to set the attributes of json to the flowfile attributes of each flowfile so I can use it after to build a query using Evaluatejsonpath processor. Everything worked fine at the beginning but then I noticed some flowfiles go to failure queue of Evaluatejsonpath.
I checked logs and the error is Invalid Json but when I went to see json files in failure queue the json has no problem and valid. Then I tried to change the processor that I'm using so I used ExecuteScript Processor. I used a script that does the some job I wanted, but still some problem some number of files go the failure queue.
Help!
Evaluatejsonpath Processor:
SplitJson Processor:
Created 04-02-2021 06:23 AM
Hi Guys, I found the solution, the problem was a bug in Evaluatejsonpath Processor of Nifi V 1.13.1 so when i used Evaluatejsonpath Processor of Nifi V 1.12.1 every thing worked fine just like i expected it.
Thank you
Created 04-02-2021 06:23 AM
Hi Guys, I found the solution, the problem was a bug in Evaluatejsonpath Processor of Nifi V 1.13.1 so when i used Evaluatejsonpath Processor of Nifi V 1.12.1 every thing worked fine just like i expected it.
Thank you
Created 04-02-2021 06:28 AM
@MedAmrani I'm happy to see you resolved your issue. Please mark your reply as the solution, as it will make it easier for others to find the answer in the future.
mark as solution button