Support Questions
Find answers, ask questions, and share your expertise

Nifi : Validate JSON

Explorer

Hi Team, 

 

I am trying to do following action. but not able to get which processor to use. All processor work on individual JSON and pass the JSON to either success and failure route. but I need to process complete file before sending it ahead in flow. 

 

Description:
1. Flow should read complete input file with multiple JSON. 
2. validate every JSON in file.
3. Any invalid JSON should be moved  to error file.
4. Validation to continue until all JSON are validated.
5. File to be rejected if any JSON error or File to be passed ahead if non found.

6. Pickup next file and start step 2-5 again.

 

Can anyone help me or give me some direction. 

 

Thanks

Rups.

0 REPLIES 0