Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Power Shell Script Processing → List Of Power Shell Script Processing

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations related to Power Shell Script Processing. Specifically, the "List Of Power Shell Script Processing" operation retrieves a list of Power Shell script processing records from the Halo PSA system. This is useful for scenarios where you need to query and analyze Power Shell script executions or their metadata within your IT service management workflows.

Practical examples include:

  • Fetching recent Power Shell script runs for auditing or compliance.
  • Filtering scripts by specific criteria such as outstanding status or associated ticket IDs.
  • Paginating through large sets of script processing records.
  • Sorting results based on multiple ordering parameters.

Properties

Name Meaning
Count Number of items to retrieve in the list.
Includeparameters Whether to include parameters used in the Power Shell scripts in the response.
Order Primary field to order the results by (string).
Order 2 Secondary field to order the results by (string).
Order 3 Tertiary field to order the results by (string).
Order 4 Fourth-level field to order the results by (string).
Order 5 Fifth-level field to order the results by (string).
Orderdesc Boolean or flag indicating descending order for the primary order field.
Orderdesc 2 Descending order flag for the secondary order field.
Orderdesc 3 Descending order flag for the tertiary order field.
Orderdesc 4 Descending order flag for the fourth-level order field.
Orderdesc 5 Descending order flag for the fifth-level order field.
Outstandingonly Filter to return only outstanding (e.g., incomplete or pending) script processing items.
Page No The page number to retrieve when paginating results.
Page Size Number of items per page when paginating results.
Pageinate Flag to enable or disable pagination.
Script Id Filter results by a specific Power Shell script ID.
Ticket Id Filter results by a specific ticket ID associated with the script processing.

Output

The node outputs an array of JSON objects representing Power Shell script processing records retrieved from the Halo PSA API. Each item contains detailed information about individual script processing entries, including any requested parameters if Includeparameters is set.

If binary data were involved (not indicated here), it would be included in the output's binary property, but this operation focuses on JSON data.

Dependencies

  • Requires valid credentials for the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
  • The node uses HTTP requests to communicate with the Halo PSA REST API.
  • Proper configuration of these credentials in n8n is necessary before using the node.

Troubleshooting

  • No credentials returned!: Ensure that the Halo PSA API credentials are correctly configured and available in n8n.
  • Resource or Operation not found: Verify that the selected resource is "Power Shell Script Processing" and the operation is "List Of Power Shell Script Processing".
  • API request errors: Network issues, invalid parameters, or authentication failures can cause errors. Check the error message returned in the node output for details.
  • Pagination issues: If too many results are returned or none appear, verify the pagination settings (Page No, Page Size, Pageinate) and filters like Outstandingonly.
  • Malformed JSON parameters: If using advanced JSON input fields, ensure the JSON syntax is correct to avoid parsing errors.

Links and References

Discussion