Head
Overview
You can use this Snap to send the specified number of documents received from the upstream Snap to the output view.
Snap Type
The Head Snap is a Flow-type Snap.
Support for Ultra pipelines
Does not work in Ultra Pipelines.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| Number of input documents to send to the output view. |
Output | Document |
|
| The output is structured results in JSON format based on the input records. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. |
Snap Settings
Field Name | Field Type | Description |
---|---|---|
Label  Default value: Head | String | Required. Specify 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. |
Number of documents  Default value: 1 | String/Expression | Required. Specify the number of documents to send to the output view.  |
Documents offset Default value: 0 | String/Expression | Specify the number of documents to offset relative to the start of the input stream. This is used to exclude headers or similar data from being processed by the Snap.  |
Snap execution  Default value: Validate & Execute | Dropdown list | Select one of the three modes in which the Snap executes. Available options are:
|
Â
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.