Exit

In this article

Overview

You can use this Snap to force a Pipeline to stop with a failed status if it receives more records than the user-defined threshold.

Snap Type

The Exit Snap is a Read-type Snap.

Prerequisites

None.

Limitations and Known Issues

None.

Support for Ultra Pipelines

Works in Ultra Tasks.

Behavior of the Exit Snap in Ultra Pipelines

When an input document is passed to the Exit snap in an Ultra pipeline, the Snap acknowledges the message (removes it from the request queue) and fails the Pipeline (depending on the Threshold limit).

Snap Views

TypeFormatNumber of ViewsExamples of Upstream and Downstream Snaps
InputDocument
  • Min: 1
  • Max: 1

N/A

OutputDocument
  • Min: 0
  • Max: 1
N/A
ErrorNo error view is defined for this Snap. Nothing is written to the error view in this Snap. The Snap fails the Pipeline if it receives more than the required number of records.

Snap Settings

Field

Field Type

Description

Label*


Default Value
Exit
Example:
 Exit Transaction 

StringSpecify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Threshold limit*


Default Value
: 0
Example: 2483647



Integer/Expression

Specify the maximum number of input records to be received by the Snap.

This field is expression enabled; however, it cannot take values from the upstream Snaps. The Snap allows only direc