Updated on 2022-07-11 GMT+08:00

Kill Action

Function

The Kill Action node indicates the end point of a workflow job when an error occurs.

Parameter Description

Table 1 describes parameters used on the Kill Action node.

Table 1 Parameters

Parameter

Meaning

name

Identifies a kill action.

message

Provides error messages.

${wf:errorMessage(wf:lastErrorNode())}

Indicates the internal error message function in the Oozie system.

Example Codes

<kill name="fail">
     <message>
         This workflow failed, error message[${wf:errorMessage(wf:lastErrorNode())}]
     </message>
 </kill>