Abort

The Abort step stops a transformation based on incoming rows. This step is commonly used for error handling—for example, to stop processing after Abort detects an error condition in the data.

Step name

Enter the following information in the transformation step field:

  • Step name: Specify the unique name of the Abort step on the canvas. You can customize the name or leave it as the default.

Options

The Abort step includes the following options:

Option
Description

Abort the running transformation

Stops the transformation when the Abort threshold is reached.

Abort and log as an error

Logs an error when the Abort step stops the transformation. This option is useful when a parent step (for example, the Kafka Consumer step) runs a sub-transformation containing the Abort step, and you want the parent step to stop.

Stop input processing

Stops the input steps to the transformation when the Abort threshold is reached, while allowing any rows already retrieved or initiated to finish processing.

Abort threshold

The number of rows to process before aborting after an error is detected. For example, if the threshold is 0, Abort stops the transformation after the first row is processed. If the threshold is 5, Abort stops the transformation after the sixth row is processed. The default value is 0.

Logging

The Abort step includes the following logging options:

Option
Description

Abort message

The log message to use when the transformation is aborted. If you leave this field blank, PDI uses a default message.

Always log rows

Logs every row processed by the Abort step so you can review the rows that caused the transformation to abort.

Last updated

Was this helpful?