Skip
AI-generatedOverview
The Skip node is designed to remove a specified number of items from the beginning of the input data array. This is useful in scenarios where you want to ignore or bypass a certain number of initial items in a data stream or list before processing the rest. For example, if you receive a batch of records but want to skip the first few entries due to them being headers or irrelevant data, this node can be applied.
Use Case Examples
- Skipping the first 3 records in a dataset before further processing.
- Ignoring the initial 5 messages in a message queue to focus on newer entries.
Properties
| Name | Meaning |
|---|---|
| Items | The number of items to skip from the start of the input data array. |
Output
JSON
- `` - The array of input items after skipping the specified number of items from the start.
Troubleshooting
- If the number of items to skip exceeds the length of the input data array, the output will be an empty array, which might lead to no data being processed downstream.
- Ensure the 'Items' property is set to a non-negative integer; negative values may cause unexpected behavior.