Autotask icon

Autotask

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

Actions524

Contract Exclusion Role → Count (Advanced)

AI-generated

Overview

This node operation counts the number of Contract Exclusion Role records in the Autotask system that match advanced filter criteria provided as a JSON string. It is useful for scenarios where users need to get a count of specific contract exclusion roles based on complex query filters, such as filtering by multiple fields or conditions. For example, a user might want to count all contract exclusion roles that meet certain status or date criteria using the Autotask API's advanced query capabilities.

Use Case Examples

  1. Count the number of contract exclusion roles where the role is active and created after a specific date.
  2. Get the count of contract exclusion roles that match multiple filter conditions specified in a JSON filter array.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify which contract exclusion roles to count.

Output

JSON

  • count - The total number of contract exclusion roles matching the advanced filter criteria.

Dependencies

  • Requires an API key credential for Autotask 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.
  • API authentication errors may occur if the API key credential is missing or invalid. Verify credentials in the node configuration.

Links

Discussion