query QueuedTaskById($id: ID!) {
queuedTaskById(id: $id) {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
cardDefinitionId
delimiter
filename
format
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
analysisResult {
__typename
}
cardDefinitionId
delimiter
errorFileUrl
failedRecords
filename
}
}
}
}{
"id": "id"
}{
"data": {
"queuedTaskById": {
"artifacts": [
{
"available": true,
"completedAt": "value",
"createdAt": "value",
"filename": "string",
"kind": "INPUT",
"sizeBytes": "value"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration",
"cardDefinitionId": "string",
"delimiter": "string",
"filename": "string",
"format": "EXCEL"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails",
"analysisResult": {
"__typename": "AnalysisResult"
},
"cardDefinitionId": "string",
"delimiter": "string",
"errorFileUrl": "string",
"failedRecords": "value",
"filename": "string"
}
}
}
}queuedTaskById
Gets a queued task of the current tenant by its global id. Null when there is none.
queuedTaskById(id: ID!): QueuedTaskArguments
Global id of the task (QueuedTask.id).
Returns
The files this task wrote or is writing.
True while the task is prepared and waits for confirmQueuedTask before it writes anything.
The choices the task was queued with.
When the task was queued (UTC).
Who queued the task.
What the task was queued to do and how it is going, in one place.
When the task and the files it wrote stop being kept.
Global id of the task. queuedTaskById, cancelQueuedTask, retryQueuedTask and confirmQueuedTask take it. The id filter in queuedTasks(where:) takes the raw UUID.
When the task last changed (UTC), such as a new status or progress.
Percentage complete, or null while the total is still unknown.
What the task reports about itself while it runs and once it is done.
Where the task is in its lifecycle.
Global id of the tenant that owns the task.
Which kind of work the task carries out.
query QueuedTaskById($id: ID!) {
queuedTaskById(id: $id) {
artifacts {
available
completedAt
createdAt
filename
kind
sizeBytes
}
awaitingConfirmation
configuration {
__typename
... on CardsImportConfiguration {
cardDefinitionId
delimiter
filename
format
}
}
createdAt
createdBy
details {
__typename
... on CardsImportDetails {
analysisResult {
__typename
}
cardDefinitionId
delimiter
errorFileUrl
failedRecords
filename
}
}
}
}{
"id": "id"
}{
"data": {
"queuedTaskById": {
"artifacts": [
{
"available": true,
"completedAt": "value",
"createdAt": "value",
"filename": "string",
"kind": "INPUT",
"sizeBytes": "value"
}
],
"awaitingConfirmation": true,
"configuration": {
"__typename": "CardsImportConfiguration",
"cardDefinitionId": "string",
"delimiter": "string",
"filename": "string",
"format": "EXCEL"
},
"createdAt": "value",
"createdBy": "value",
"details": {
"__typename": "CardsImportDetails",
"analysisResult": {
"__typename": "AnalysisResult"
},
"cardDefinitionId": "string",
"delimiter": "string",
"errorFileUrl": "string",
"failedRecords": "value",
"filename": "string"
}
}
}
}Was this page helpful?