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

NiFi iteration of queue entries between processors

Contributor

I'm trying to keep track of the position/count of each separate JSON created by SplitJson. I've tried using my own row.counter and the written attribute fragment.count. However, I cannot get the behavior I need where each iteration is given an incremented value. Instead, each of the rows is given the same value for all resulting JSON split content. Is there something specific (e.g. SegmentContent or similar) I should use to achieve this task? Thanks.

10 REPLIES 10

Contributor

I'm still struggling with this. I could really use an example of how to get something other than "Empty string set" when trying to utilize any "fragment.*'attributes.