Firefly Services icon

Firefly Services

Interact with Adobe Firefly API

Get Job Status

AI-generated

Summary

Retrieve the status of an asynchronous job using its job ID. Optionally, poll the job status repeatedly until it completes or fails, with configurable polling interval and timeout.

Inputs

  • Job ID (required) — The job ID identifying the asynchronous operation whose status is to be checked.
  • Wait for Completion — Boolean flag to determine if the node should wait and poll until the job completes or fails before returning.
  • Polling Interval (Seconds) — Interval in seconds between status checks when waiting for completion (1-60 seconds).
  • Timeout (Minutes) — Maximum number of minutes to wait for job completion before the node fails (1-60 minutes).

Output shape

a single record representing the current status and details of the specified job

If 'Wait for Completion' is enabled, the node will poll status until job success or failure, or until timeout is reached, upon which the node fails. Otherwise it returns current job status immediately.

Examples

Example 1: Retrieve current status of a job without waiting

Set 'Job ID' to target job; leave 'Wait for Completion' as false.

Example 2: Wait for an async job to complete

Set 'Job ID'; enable 'Wait for Completion'; configure polling interval and timeout as needed.

Discussion