Skip to content

/AWS1/CL_SWFSCHACTIVITYTSKFA00

Provides the details of the ScheduleActivityTaskFailed event.

CONSTRUCTOR

IMPORTING

Required arguments:

io_activitytype TYPE REF TO /AWS1/CL_SWFACTIVITYTYPE /AWS1/CL_SWFACTIVITYTYPE

The activity type provided in the ScheduleActivityTask decision that failed.

iv_activityid TYPE /AWS1/SWFACTIVITYID /AWS1/SWFACTIVITYID

The activityId provided in the ScheduleActivityTask decision that failed.

iv_cause TYPE /AWS1/SWFSCHACTIVITYTSKFAILE00 /AWS1/SWFSCHACTIVITYTSKFAILE00

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_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 that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.


Queryable Attributes

activityType

The activity type provided in the ScheduleActivityTask decision that failed.

Accessible with the following methods

Method Description
GET_ACTIVITYTYPE() Getter for ACTIVITYTYPE

activityId

The activityId provided in the ScheduleActivityTask 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 to OPERATION_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 that resulted in the scheduling of this activity task. 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