Actions9
Wait for Job
AI-generatedSummary
Polls the status of an Audio/Video job by its Job ID at a configurable interval until it completes or a timeout is reached.
Inputs
- Job ID (required) — The identifier of the job whose status to monitor.
- Polling Interval (Seconds) — Interval in seconds between status checks while waiting for job completion; defaults to 3 seconds and must be between 1 and 60.
- Timeout (Minutes) — Maximum time in minutes to wait for the job to complete before failing; defaults to 5 minutes and must be between 1 and 60.
Output shape
a single JSON object containing the final job status upon completion or an error if the timeout is reached
The node polls the job status using the provided Job ID repeatedly at the specified polling interval. If the job does not complete before the timeout duration, the node will fail with an error. The output contains the job status details from the Firefly Audio/Video service.
Examples
Example 1: Wait for a transcoding job to complete
Specify the Job ID of the job to wait for, adjust polling interval to 5 seconds, and timeout to 10 minutes to wait up to 10 minutes for job completion, checking status every 5 seconds.