Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to handle failure of NiFi ExecuteProcess processor while it doesn't have a failure relationship

avatar
Contributor

I am trying to execute a job by the use of ExecuteProcess processor to run the shell command that executes this job.

But if the shell command failed, the error messages only appear in the log (at the top right of the processor) but the processor doesn't have a failure relationship. I want to handle the case of failure to do some action or send emails.

1 ACCEPTED SOLUTION

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Contributor

The first solution works! Thanks @Matt Burgess

Here's the RouteOnAttribute configurations.

38543-screenshot-from-2017-09-06-17-29-33.png