Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Working with FlowFile Content in NiFi

avatar
New Member

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

avatar
Master 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

avatar
Master Guru

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