I have designed flow in nifi for XML to JSON converter. And for that, I have used GenerateFlow File and JoltTransformRecord(not JoltTransform JSON).
But I am getting null value in the JSON file with the schema(output in screen shot).
Please find my jolt specification:
Jolt Transformation DSL is chain.
As I am trying to convert XML to JSON and make a change in element name in one go through JoltTransformRecord. I think JoltTransformRecord accepts any form of payload and then converts it into JSON format and then applies the change in elements of the JSON file.
Please help why this happens.