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

Working with FlowFile Content in NiFi

Solved Go to solution

Working with FlowFile Content in NiFi

New Contributor

I have a simple nifi flow with HttpRecieveHeandler => *Router* => HttpResponseHeandler

with GET queryes for routing i use RouteOnAttribute, but for POST it didn't work couse RouteOnContent transform HTTP BODY to string. How should i work with JSON in FlowFileContent?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Working with FlowFile Content in NiFi

Super Guru

You can extract values from JSON content into attributes using EvaluateJsonPath, then you can use RouteOnAttribute to do routing.

View solution in original post

1 REPLY 1

Re: Working with FlowFile Content in NiFi

Super Guru

You can extract values from JSON content into attributes using EvaluateJsonPath, then you can use RouteOnAttribute to do routing.

View solution in original post