/AWS1/CL_SWFWORKFLOWEXCANCRE00¶
Provides the details of the WorkflowExecutionCancelRequested event.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_externalworkflowexecution TYPE REF TO /AWS1/CL_SWFWORKFLOWEXECUTION /AWS1/CL_SWFWORKFLOWEXECUTION¶
The external workflow execution for which the cancellation was requested.
iv_externalinitiatedeventid TYPE /AWS1/SWFEVENTID /AWS1/SWFEVENTID¶
The ID of the
RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
iv_cause TYPE /AWS1/SWFWORKFLOWEXCANCREQED00 /AWS1/SWFWORKFLOWEXCANCREQED00¶
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
Queryable Attributes¶
externalWorkflowExecution¶
The external workflow execution for which the cancellation was requested.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXTERNALWORKFLOWEXEC() |
Getter for EXTERNALWORKFLOWEXECUTION |
externalInitiatedEventId¶
The ID of the
RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this workflow execution.The source event with this ID can be found in the history of the source 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_EXTERNALINITIATEDEVENTID() |
Getter for EXTERNALINITIATEDEVENTID |
cause¶
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
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 |