Error transformer

Table of contents

  • General description
  • A key part of the Exception Transformer

General description

The Error Transformer can be used to manually interrupt a route when certain conditions are met. This is useful when combined with a Conditional Transformer, for example, when the data contains certain values or when certain data is absent or otherwise invalid.

A key part of the Exception Transformer

Message (required field)

This specifies the message that will be added to the log when the Transformer is executed.

Here’s a step-by-step guide on how to abort the transformer with the rest of the chain:

Step 1: Create Entity transformer and select “Data, transform data using mappers and conditions”.

Step 2: Select “Error transformer” in the “Data transformer” field.

Step 3: After that, input an exception message that will throw when something goes wrong during the execution of the transformer.

Step 4: Run the transformer. Once the transformer is executed, all related configurations and transformers will be stopped once an error occurs sending the exception message in the Logs tab.

1 Like