Types
TaskStatus
Says where a queued task is in its lifecycle. COMPLETED, FAILED and CANCELLED are final;
retryQueuedTask can queue a FAILED or CANCELLED task again.
enum
TaskStatusValues
CREATED
Waiting for its file. Only cards and source imports start here; upload the file to the link from createQueuedTaskUploadUrl.
ANALYZING
Checking the uploaded file of an import, or running an enrichment analysis.
PENDING
Queued and waiting to start. An import whose file passed analysis waits here for confirmQueuedTask; awaitingConfirmation is then true.
IN_PROGRESS
Running.
COMPLETED
Finished successfully. The files it wrote are in artifacts.
FAILED
Stopped with an error, or the import's file failed analysis.
CANCELLED
Cancelled with cancelQueuedTask.
Was this page helpful?