taskResult
Get the status of a background task.
Returns
TaskResultPossible Errors
Allowed Viewers
Required Permissions
Can access customer queriesQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query TaskResult(
$accountNumber: String!,
$taskId: String!
) {
taskResult(
accountNumber: $accountNumber,
taskId: $taskId
) {
error
result
status
}
}
Variables
{
"accountNumber": "A-87995341",
"taskId": "53697658"
}
Response
{
"data": {
"taskResult": {
"error": "six-of-later-evidence-law",
"result": {"key": "value"},
"status": "STARTED"
}
}
}