/AWS1/CL_SWFREQCANCEXTERNALW01¶
Provides the details of the RequestCancelExternalWorkflowExecutionFailed
event.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_workflowid
TYPE /AWS1/SWFWORKFLOWID
/AWS1/SWFWORKFLOWID
¶
The
workflowId
of the external workflow to which the cancel request was to be delivered.
iv_cause
TYPE /AWS1/SWFREQCANCEXTERNALWORK00
/AWS1/SWFREQCANCEXTERNALWORK00
¶
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_initiatedeventid
TYPE /AWS1/SWFEVENTID
/AWS1/SWFEVENTID
¶
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event corresponding to theRequestCancelExternalWorkflowExecution
decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
iv_dcsntaskcompletedeventid
TYPE /AWS1/SWFEVENTID
/AWS1/SWFEVENTID
¶
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecution
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.
Optional arguments:¶
iv_runid
TYPE /AWS1/SWFWORKFLOWRUNIDOPTIONAL
/AWS1/SWFWORKFLOWRUNIDOPTIONAL
¶
The
runId
of the external workflow execution.
iv_control
TYPE /AWS1/SWFDATA
/AWS1/SWFDATA
¶
The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.
Queryable Attributes¶
workflowId¶
The
workflowId
of the external workflow to which the cancel request was to be delivered.
Accessible with the following methods¶
Method | Description |
---|---|
GET_WORKFLOWID() |
Getter for WORKFLOWID, with configurable default |
ASK_WORKFLOWID() |
Getter for WORKFLOWID w/ exceptions if field has no value |
HAS_WORKFLOWID() |
Determine if WORKFLOWID has a value |
runId¶
The
runId
of the external workflow execution.
Accessible with the following methods¶
Method | Description |
---|---|
GET_RUNID() |
Getter for RUNID, with configurable default |
ASK_RUNID() |
Getter for RUNID w/ exceptions if field has no value |
HAS_RUNID() |
Determine if RUNID 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 |
initiatedEventId¶
The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event corresponding to theRequestCancelExternalWorkflowExecution
decision to cancel this external workflow 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_INITIATEDEVENTID() |
Getter for INITIATEDEVENTID |
decisionTaskCompletedEventId¶
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theRequestCancelExternalWorkflowExecution
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 |
control¶
The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONTROL() |
Getter for CONTROL, with configurable default |
ASK_CONTROL() |
Getter for CONTROL w/ exceptions if field has no value |
HAS_CONTROL() |
Determine if CONTROL has a value |