GetQueryJobStatus 2025.10.9.21

Bundle

com.snowflake.openflow.runtime | runtime-salesforce-processors-nar

Description

Gets the status of a Query Job in Salesforce using the Bulk API 2.0.

Tags

bulk, job, preview, query, salesforce, status

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Job IDThe ID of the job for which the status is checked.
Salesforce ClientSalesforce Client to interact with the APIs

Relationships

NameDescription
comms.failureA FlowFile is routed to this relationship if the Query Job status could not be retrieved but the operation might be retried
failureA FlowFile is routed to this relationship if the Query Job status could not be retrieved
job.abortedIf the Query Job has been aborted, the FlowFile is routed to this relationship
job.completedIf the Query Job completed, the FlowFile is routed to this relationship
job.failedIf the Query Job failed, the FlowFile is routed to this relationship
waitIf the Query Job is in the processing queue or in progress, the FlowFile is routed to this relationship

Writes attributes

NameDescription
jobStateThe current state of processing for the job.
systemModstampThe UTC date and time when the API last updated the job information.
numberRecordsProcessedThe number of records processed in this job.
retriesThe number of times that Salesforce attempted to save the results of an operation. Repeated attempts indicate a problem such as a lock contention.
totalProcessingTimeThe number of milliseconds taken to process the job.
isPkChunkingSupportedWhether PK chunking is supported for the queried object (true), or isn’t supported (false).

See also