Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Resource Role → Get Many

AI-generated

Overview

This node interacts with the Autotask PSA REST API to retrieve multiple resource role records. It is useful for scenarios where you need to fetch a list of resource roles, such as for reporting, synchronization, or automation tasks involving resource management in Autotask.

Use Case Examples

  1. Retrieve all resource roles to synchronize with an external HR system.
  2. Fetch a limited number of resource roles for display in a dashboard.
  3. Get resource roles with human-readable labels for easier interpretation in workflows.

Properties

Name Meaning
returnAll Whether to return all resource role records or limit the number of records returned.
maxRecords Maximum number of resource role records to return when not returning all records. Range is 1 to 500.
addPicklistLabels Whether to automatically add human-readable labels for picklist fields in the output.
addReferenceLabels Whether to automatically add human-readable labels for reference fields in the output.
selectColumns Specify which fields (columns) to include in the response. If none are selected, all fields are returned. The ID field is always included.
flattenUdfs Whether to bring user-defined fields (UDFs) to the top level of each object instead of nested inside an array.

Output

JSON

  • id - Unique identifier of the resource role.
  • name - Name of the resource role.
  • description - Description of the resource role.
  • isActive - Indicates if the resource role is active.
  • picklistLabels - Optional human-readable labels for picklist fields if enabled.
  • referenceLabels - Optional human-readable labels for reference fields if enabled.
  • userDefinedFields - User-defined fields related to the resource role, either nested or flattened based on configuration.

Dependencies

  • Autotask PSA REST API credentials

Troubleshooting

  • Ensure valid Autotask API credentials are provided to avoid authentication errors.
  • If no records are returned, verify the resource role data exists in Autotask and the query parameters are correct.
  • If the node fails, check if the API rate limits are exceeded and consider retrying later or adjusting request frequency.
  • Errors related to field selection may occur if invalid field names or IDs are specified in 'selectColumns'. Verify field names against Autotask documentation or use the node's field selection options.

Links

Discussion