Matt, thanks for your reply, but I am not sure I have actually understood what you mean. In my load method I have the following:
try{ transaction.commit(); }catch (TitanException ex) { System.out.println("This is a failure message"); transaction.rollback(); } How are you suggesting to re-throw the exception in the OnTrigger in order to transfer it to a failure, or in case there is no exception to a success? Can you please provide an example? Thanks, -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/catch-commit-error-in-OnTrigger-to-diversify-session-behaviour-tp9027p9060.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.