AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.
Namespace: Amazon.SimpleWorkflow.Model
Assembly: AWSSDK.SimpleWorkflow.dll
Version: 3.x.y.z
public class DecisionTask
The DecisionTask type exposes the following members
Name | Description | |
---|---|---|
![]() |
DecisionTask() |
Name | Type | Description | |
---|---|---|---|
![]() |
Events | System.Collections.Generic.List<Amazon.SimpleWorkflow.Model.HistoryEvent> |
Gets and sets the property Events. A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
NextPageToken | System.String |
Gets and sets the property NextPageToken.
If a
The configured |
![]() |
PreviousStartedEventId | System.Nullable<System.Int64> |
Gets and sets the property 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. |
![]() |
StartedEventId | System.Nullable<System.Int64> |
Gets and sets the property StartedEventId.
The ID of the |
![]() |
TaskToken | System.String |
Gets and sets the property 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. |
![]() |
WorkflowExecution | Amazon.SimpleWorkflow.Model.WorkflowExecution |
Gets and sets the property WorkflowExecution. The workflow execution for which this decision task was created. |
![]() |
WorkflowType | Amazon.SimpleWorkflow.Model.WorkflowType |
Gets and sets the property WorkflowType. The type of the workflow execution for which this decision task was created. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer