{
"type": "object",
"required": [
"taskToken",
"startedEventId",
"workflowExecution",
"workflowType",
"events"
],
"properties": {
"taskToken": {
"allOf": [
{
"$ref": "#/components/schemas/TaskToken"
},
{
"description": "The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task."
}
]
},
"startedEventId": {
"allOf": [
{
"$ref": "#/components/schemas/EventId"
},
{
"description": "The ID of the DecisionTaskStarted event recorded in the history."
}
]
},
"workflowExecution": {
"allOf": [
{
"$ref": "#/components/schemas/WorkflowExecution"
},
{
"description": "The workflow execution for which this decision task was created."
}
]
},
"workflowType": {
"allOf": [
{
"$ref": "#/components/schemas/WorkflowType"
},
{
"description": "The type of the workflow execution for which this decision task was created."
}
]
},
"events": {
"allOf": [
{
"$ref": "#/components/schemas/HistoryEventList"
},
{
"description": "A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task."
}
]
},
"nextPageToken": {
"allOf": [
{
"$ref": "#/components/schemas/PageToken"
},
{
"description": "
If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.
The configured maximumPageSize determines how many results can be returned in a single call.