Trigger a workflow
Trigger and query workflows using the Nexthink API.
The ID of the workflow to execute.
#workflow_exampleNexthink Collector IDs of the devices that the workflow should be executed on. Note: If devices are included in the request, then users are optional by default.
The security IDs of the users that the workflow would target. Note: If users are included in the request, then devices are optional by default.
Successful execution response.
Each request spawns one or more executions depending on the input. All executions will have the same request ID and a unique execution ID.
The request ID. Use this ID to query workflow executions in NQL workflow.executions.request_id.
7fbd96a7-b717-43a7-8973-9c6adbca3a56A list of execution ID for each object targeted workflow.executions.execution_id.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - no permission to execute workflow.
The ID of the workflow to execute.
#workflow_exampleSuccessful execution response.
Each request spawns one or more executions depending on the input. All executions will have the same request ID and a unique execution ID.
The request ID. Use this ID to query workflow executions in NQL workflow.executions.request_id.
7fbd96a7-b717-43a7-8973-9c6adbca3a56A list of execution ID for each object targeted workflow.executions.execution_id.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - no permission to execute workflow.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Returns a request identifier.
The request ID.
123e4567-e89b-42d3-a456-556642440000Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - not authorized to execute workflow.
List of workflows and their configurations.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - not authorized to execute workflow.
The NQL ID of the workflow.
#ExampleWorkflowWorkflow configuration.
Bad request - invalid request, see error code for details.
Unauthorized - no valid authentication credentials.
No permission - no permission to execute workflow.
Last updated
Was this helpful?
