Actions41
- Alarm Actions
- Alarm Category Actions
- Data Collection Actions
- Event Template Actions
- Find Actions
- Object Actions
- Scheduled Task Actions
- Server Actions
- User Actions
Scheduled Task → Get
AI-generatedSummary
Fetches the details of a single NetXMS scheduled task by its numeric ID.
Inputs
- taskId (required) — Numeric ID of the scheduled task to retrieve. Defaults to 0, so set it to a real task ID.
Output shape
One output item per input item, holding the scheduled task record returned by the NetXMS server.
The node first logs in to the NetXMS REST API with the credentials, then sends GET /v1/scheduled-tasks/{taskId}. The server's JSON response is returned as is, so the exact fields depend on the NetXMS version. If the task isn't found or the request fails, the node throws an error. With Continue On Fail enabled, it returns an item with an
errormessage instead.
Examples
Example 1: Check a known scheduled task before changing it
Resource: Scheduled Task, Operation: Get, Task ID: 12
Example 2: Look up tasks from an earlier step, such as IDs returned by Get Many
Resource: Scheduled Task, Operation: Get, Task ID set by the expression {{ $json.id }}