/AWS1/CL_SWFREQCANCACTIVITYT00¶
Provides the details of the RequestCancelActivityTaskFailed
event.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_activityid
TYPE /AWS1/SWFACTIVITYID
/AWS1/SWFACTIVITYID
¶
The activityId provided in the
RequestCancelActivityTask
decision that failed.
iv_cause
TYPE /AWS1/SWFREQCANCACTIVITYTSKF00
/AWS1/SWFREQCANCACTIVITYTSKF00
¶
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If
cause
is 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelActivityTask
decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
Queryable Attributes¶
activityId¶
The activityId provided in the
RequestCancelActivityTask
decision that failed.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ACTIVITYID() |
Getter for ACTIVITYID, with configurable default |
ASK_ACTIVITYID() |
Getter for ACTIVITYID w/ exceptions if field has no value |
HAS_ACTIVITYID() |
Determine if ACTIVITYID has a value |
cause¶
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
If
cause
is 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
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelActivityTask
decision for this cancellation request. 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 |