Used by deciders to tell the service that the DecisionTask
identified by the
taskToken
has successfully completed. The decisions
argument
specifies the list of decisions made while processing the task.
A DecisionTaskCompleted
event is added to the workflow history. The
executionContext
specified is attached to the event in the workflow execution
history.
Access Control
If an IAM policy grants permission to use RespondDecisionTaskCompleted
, it can
express permissions for the list of decisions in the decisions
parameter in the
same way as for the regular API. This approach maintains a uniform conceptual model and helps
keep policies readable. For more information, see Using IAM to
Manage Access to Amazon SWF Workflows.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Source
Method defined in services/swf.class.php | Toggle source view (12 lines) | View on GitHub