NiFi : combine flow file attribute and content
Hello,
I am puzzelling for some time if there is possibility to refer the both attributes and content of flow file and transform the content by combining both.
Example:
Assume a flow file with uuid=2c8a7845-8567-4eed-97ee-4dcd1c18668e and the json content
{
"data":"some business data"
}
The result of the transformation should be a content like
{
"nifi-filename": "2c8a7845-8567-4eed-97ee-4dcd1c18668e",
"nifi-content": {
"data": "some business data"
}
}
How can I reach that.?
Best regards
Jaro


