Autotask icon

Autotask

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

Actions524

Configuration Item → Count (Advanced)

AI-generated

Overview

This node operation performs an advanced count query on Configuration Items in the Autotask PSA system using a JSON-based filter. It is useful for scenarios where you need to count Configuration Items that meet complex criteria defined by the user, such as filtering by specific fields or conditions.

Use Case Examples

  1. Count the number of Configuration Items that are active and belong to a certain category.
  2. Count Configuration Items that have a specific custom field value using a JSON filter.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify which Configuration Items to count. This filter must be constructed according to Autotask API documentation and can be built using the Get Field Info and Search Filter Build tools.

Output

JSON

  • count - The total number of Configuration Items matching the advanced filter criteria.

Dependencies

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

Troubleshooting

  • Ensure the Advanced Filter JSON is correctly formatted and follows the Autotask API query criteria syntax; otherwise, the API call may fail.
  • If the node throws an error about unsupported resource or operation, verify that the resource is set to Configuration Item and operation to Count (Advanced).
  • API rate limits may affect execution; ensure proper API credentials and consider rate limiting strategies if encountering errors.

Links

Discussion