Re: Nifi - Adding attributes to flow file results in FlowFileHandlingException when flow file is transferred

2016-02-10 Thread M Singh
Bryan :  That was indeed the issue.  Thanks for your quick response. Mans On Wednesday, February 10, 2016 8:59 AM, Bryan Bende wrote: Hello, The error message is indicating that you are trying to transfer an unknown FlowFile because it is transferring a reference to the original FlowFi

Re: Nifi - Adding attributes to flow file results in FlowFileHandlingException when flow file is transferred

2016-02-10 Thread Bryan Bende
Hello, The error message is indicating that you are trying to transfer an unknown FlowFile because it is transferring a reference to the original FlowFile before you updated the attributes. You would need to assign the result of putAllAttributes (or putAttribute) and then transfer that: flowFile

Nifi - Adding attributes to flow file results in FlowFileHandlingException when flow file is transferred

2016-02-10 Thread M Singh
Hi: I am processing some flow files and want to add success and failure attributes to the processed flow file and then transfer it.  But this is producing an exception: org.apache.nifi.processor.exception.FlowFileHandlingException: StandardFlowFileRecord[uuid=432bc163-28a0-4d08-b9e8-1674a649ae8c