/AWS1/CL_SWFWORKFLOWEXTERMIN00¶
Provides the details of the WorkflowExecutionTerminated
event.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_childpolicy
TYPE /AWS1/SWFCHILDPOLICY
/AWS1/SWFCHILDPOLICY
¶
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
Optional arguments:¶
iv_reason
TYPE /AWS1/SWFTERMINATEREASON
/AWS1/SWFTERMINATEREASON
¶
The reason provided for the termination.
iv_details
TYPE /AWS1/SWFDATA
/AWS1/SWFDATA
¶
The details provided for the termination.
iv_cause
TYPE /AWS1/SWFWORKFLOWEXTERMINATE00
/AWS1/SWFWORKFLOWEXTERMINATE00
¶
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions.
Queryable Attributes¶
reason¶
The reason provided for the termination.
Accessible with the following methods¶
Method | Description |
---|---|
GET_REASON() |
Getter for REASON, with configurable default |
ASK_REASON() |
Getter for REASON w/ exceptions if field has no value |
HAS_REASON() |
Determine if REASON has a value |
details¶
The details provided for the termination.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DETAILS() |
Getter for DETAILS, with configurable default |
ASK_DETAILS() |
Getter for DETAILS w/ exceptions if field has no value |
HAS_DETAILS() |
Determine if DETAILS has a value |
childPolicy¶
The policy used for the child workflow executions of this workflow execution.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CHILDPOLICY() |
Getter for CHILDPOLICY, with configurable default |
ASK_CHILDPOLICY() |
Getter for CHILDPOLICY w/ exceptions if field has no value |
HAS_CHILDPOLICY() |
Determine if CHILDPOLICY has a value |
cause¶
If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate 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 |