web / lib/jobs/workflows/completion
lib/jobs/workflows/completion
IngestFile status update helpers for workflow completion. Called from workflow handlers after all sheets are processed. Replaces the hook-based handleJobCompletion which had transaction issues.
Functions
updateIngestFileStatus()
updateIngestFileStatus(
payload,sheets):Promise<void>
Parameters
payload
BasePayload
sheets
Returns
Promise<void>
updateIngestFileStatusForJob()
updateIngestFileStatusForJob(
payload,ingestJobId):Promise<void>
Parameters
payload
BasePayload
ingestJobId
string | number
Returns
Promise<void>
Last updated on