Actions18
Job → Wait
AI-generatedSummary
Polls a specific NetApp ONTAP cluster job until it completes or a timeout occurs.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF to connect to.
- Port — HTTPS port number for the ONTAP REST API (default is 443).
- Job UUID (required) — The UUID of the job to wait for completion.
- Timeout (Seconds) — Maximum time to wait for the job to complete before timing out (default is 300 seconds).
- Options — Additional options including 'Fields' to specify a comma-separated list of job fields to include in the response (use '*' to include all).
Output shape
A single JSON object representing the completed job status and details when the job finishes.
The node polls the job status until the job reaches a terminal state (success or failure) or the timeout is exceeded. If the job fails, the node errors with the job failure message. If the timeout is reached before completion, the node errors indicating the job did not complete in time.
Examples
Example 1: Wait for a cluster job to complete
Provide the target cluster host, job UUID, and optionally adjust timeout and fields to return full job details.