I have been trying to trigger an action when an action in oozie fails
I can do this using the error to node as below
<ok to="end"/>
<error to="kill"/>
This will work perfectly fine if my requirement is to do a roll back when the current action fails in oozie.
What i was looking for is to trigger a step in case the workflow is killed (if someone goes to the workflow and clicks the kill button in HUE.)
I could see a node named kill that gets generated in workflow.xml when i use oozie through HUE. I tried to put my custom action in this space but every time i save the xml the workflow gets default value as below
<kill name="kill">
<message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
</kill>
Is there any way to perform some action(Some Kind of roll backing) when a oozie workflow is killed ?
Is there any way to capture the Kill action and trigger another workflow ?
I have gone through the oozie documentation with no success.
Really apprecitate your help on this.