Jobs
JobsService
Bases: FolderContext
, BaseService
Service for managing API payloads and job inbox interactions.
A job represents a single execution of an automation - it is created when you start a process and contains information about that specific run, including its status, start time, and any input/output data.
resume(*, inbox_id=None, job_id=None, folder_key=None, folder_path=None, payload)
Sends a payload to resume a paused job waiting for input, identified by its inbox ID.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
inbox_id
|
Optional[str]
|
The inbox ID of the job. |
None
|
job_id
|
Optional[str]
|
The job ID of the job. |
None
|
folder_key
|
Optional[str]
|
The key of the folder to execute the process in. Override the default one set in the SDK config. |
None
|
folder_path
|
Optional[str]
|
The path of the folder to execute the process in. Override the default one set in the SDK config. |
None
|
payload
|
Any
|
The payload to deliver. |
required |
resume_async(*, inbox_id=None, job_id=None, folder_key=None, folder_path=None, payload)
async
Asynchronously sends a payload to resume a paused job waiting for input, identified by its inbox ID.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
inbox_id
|
Optional[str]
|
The inbox ID of the job. If not provided, the execution context will be used to retrieve the inbox ID. |
None
|
job_id
|
Optional[str]
|
The job ID of the job. |
None
|
folder_key
|
Optional[str]
|
The key of the folder to execute the process in. Override the default one set in the SDK config. |
None
|
folder_path
|
Optional[str]
|
The path of the folder to execute the process in. Override the default one set in the SDK config. |
None
|
payload
|
Any
|
The payload to deliver. |
required |
Examples: