Amazon Simple Workflow Service
API Reference (API Version 2012-01-25)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

DecisionTask

Description

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

Contents

events

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

Type: array of HistoryEvent objects

Required: Yes

nextPageToken

Returns a value if the results are paginated. To get the next page of results, repeat the request specifying this token and all other arguments unchanged.

Type: String

Length constraints: Minimum length of 0. Maximum length of 2048.

Required: No

previousStartedEventId

The id of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

Type: Long

Required: No

startedEventId

The id of the DecisionTaskStarted event recorded in the history.

Type: Long

Required: Yes

taskToken

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.

Type: String

Length constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

workflowExecution

The workflow execution for which this decision task was created.

Type: WorkflowExecution object

Required: Yes

workflowType

The type of the workflow execution for which this decision task was created.

Type: WorkflowType object

Required: Yes