Shopware icon

Shopware

Shopware

Actions778

System Operations → Iterate

AI-generated

Overview

This node operation iterates over a specified indexer in a system, allowing batch processing of items starting from a given offset. It is useful for scenarios where you need to process or retrieve data in chunks from an indexer, such as paginating through search results or processing large datasets incrementally.

Use Case Examples

  1. Iterate through search index results in batches to update or analyze data.
  2. Process log entries from a system indexer starting at a specific offset for monitoring or alerting.

Properties

Name Meaning
Indexer Name of the indexer to iterate.
Offset The offset for the iteration, indicating the starting point for processing.
Request Options Additional options to control request behavior such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • items - The items retrieved or processed during the iteration.
  • offset - The current offset position after iteration.

Troubleshooting

  • Ensure the indexer name is correct and accessible to avoid iteration errors.
  • Check network and proxy settings if requests fail or time out.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.

Discussion