Thanks for your reply. I have understood this approach, but I think that doesn't fit my requirements.
If I can I would like to explain better my use case in order to get some suggestions about I can develop my process. My workflow is composed by several invokeHTTP processors. Everyone of them retrieves an XML page from a specific URL, it sends the flowfile to a custom processor in order to parse the XML and it puts each item into a text file. Sometimes, as I told you in the first post, some processors crashes because of the XML is not well formed. In this case I would like to stop the invokeHTTP processor which has retrieved the malformed XML. Keeping in mind that the parser processor is custom, so I can handle and rewrite the function as I want, is there a way to do this function? Thanks a lot for any suggestion. -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Get-the-provenance-of-a-flowfile-from-java-api-tp13788p13793.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
