/AWS1/CL_SWFCONTINUEASNEWWOR00¶
Provides the details of the ContinueAsNewWorkflowExecutionFailed event.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_cause TYPE /AWS1/SWFCONTINUEASNEWWORKFL00 /AWS1/SWFCONTINUEASNEWWORKFL00¶
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If
causeis set toOPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
iv_dcsntaskcompletedeventid TYPE /AWS1/SWFEVENTID /AWS1/SWFEVENTID¶
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Queryable Attributes¶
cause¶
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If
causeis set toOPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CAUSE() |
Getter for CAUSE, with configurable default |
ASK_CAUSE() |
Getter for CAUSE w/ exceptions if field has no value |
HAS_CAUSE() |
Determine if CAUSE has a value |
decisionTaskCompletedEventId¶
The ID of the
DecisionTaskCompletedevent corresponding to the decision task that resulted in theContinueAsNewWorkflowExecutiondecision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DCSNTASKCOMPLETEDEVENTID() |
Getter for DECISIONTASKCOMPLETEDEVENTID |