Hudu icon

Hudu

Interact with Hudu REST API

Procedure → Get Many

AI-generated

Overview

This node operation retrieves multiple procedure records from the Hudu system. It supports filtering by various criteria such as archived status, company, creation and update dates, name, parent process ID, process scope, slug, and type. Users can choose to return all matching results or limit the number of results. Additionally, results can be wrapped into a single item containing an array of items and a count, which helps prevent downstream nodes from executing once per result item, reducing the risk of rate limiting.

Use Case Examples

  1. Retrieve all procedures for a specific company within the last 7 days.
  2. Get up to 25 non-archived procedures with a specific name.
  3. Fetch all active procedure runs globally, wrapped in a single item for efficient processing.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of results to return when 'Return All' is false.
Wrap Results in Single Item Whether to return all results as a single item with an 'items' array and 'count' field to prevent downstream nodes from executing once per result item, which can cause rate limiting issues.
Filters Collection of filters to narrow down the procedures retrieved, including archived status, company, creation and update date ranges, name, parent process ID, process scope, slug, and type.

Output

JSON

  • items - Array of procedure objects when results are wrapped in a single item.
  • count - Number of procedure items returned when results are wrapped.

Dependencies

  • Hudu REST API

Troubleshooting

  • If the node throws an error about an unknown resource, ensure the resource parameter is set to 'procedures'.
  • If no results are returned, check the filter criteria to ensure they match existing procedures.
  • Rate limiting issues can occur if 'Wrap Results in Single Item' is not enabled when retrieving many items; enable this option to mitigate.

Discussion