Autotask icon

Autotask

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

Actions524

Resource Role → Count (Advanced)

AI-generated

Overview

This node interacts with Kaseya's Autotask PSA REST API to perform advanced count queries on the Resource Role resource. It allows users to specify complex filtering criteria using a JSON string to count Resource Role records that match the given conditions. This is useful for scenarios where users need to get the number of Resource Roles meeting specific criteria without retrieving all data, such as reporting or conditional workflow branching.

Use Case Examples

  1. Count the number of Resource Roles with a specific role name or attribute using an advanced JSON filter.
  2. Use the advanced filter to count Resource Roles created within a certain date range or matching multiple conditions.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify which Resource Role records to count.

Output

JSON

  • count - The number of Resource Role records matching the advanced filter criteria.

Dependencies

  • Requires an API key credential for Autotask PSA REST API authentication.

Troubleshooting

  • Ensure the Advanced Filter JSON string is correctly formatted and contains a valid "filter" array as per Autotask API documentation.
  • Common errors may include invalid JSON syntax or incorrect field names in the filter criteria. Use the 'Get Field Info' and 'Search Filter Build' tools to verify field names and filter structure.
  • Authentication errors may occur if the API key credential is missing or invalid; verify credentials in node settings.

Links

Discussion