hmc_wait_for_job
Poll an HMC job until it reaches COMPLETED, FAILED, or EXCEPTION. Returns the final status, or the latest state if timeout occurs.
Instructions
Poll an HMC job until it reaches a terminal state (COMPLETED / FAILED / EXCEPTION).
Returns the final job entry. If timeout_seconds elapses before a terminal state is reached, returns the last-seen entry regardless of status — check the Status field to distinguish timeout from completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_uuid | Yes | ||
| poll_interval | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |