joewitt commented on PR #7808: URL: https://github.com/apache/nifi/pull/7808#issuecomment-1741815005
If using a validator such as a file exists validator and the value comes from a flowfile attribute expression evaluation the processors shows as valid even if the underlying dir doesn't exist. That makes sense since it cannot know until runtime. However, at runtime when it evaluates the value it appears to find the directory does not exist and automatically routes to 'failure' without executing the processors code. *I think*. Because I see data going to failure and I find this interesting log output `2023-09-30 16:59:27,979 INFO [NiFiGatewayConnection Thread for UpdateAttributeFileLookup temp-component-UpdateAttributeFileLookup] o.a.n.p.processor.FlowFileTransformProxy PythonProcessor[type=UpdateAttributeFileLookup, id=461e6905-2771-360b-224c-b0cdec945c70] The directory does not exist` It should probably rollback rather than route to failure or at least make clear it is choosing to route to failure at a framework level... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
