/AWS1/CL_SWFSTRTCHILDWORKFLO01¶
Provides the details of the StartChildWorkflowExecutionFailed
event.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
io_workflowtype
TYPE REF TO /AWS1/CL_SWFWORKFLOWTYPE
/AWS1/CL_SWFWORKFLOWTYPE
¶
The workflow type provided in the
StartChildWorkflowExecution
Decision that failed.
iv_cause
TYPE /AWS1/SWFSTRTCHILDWORKFLOWEX00
/AWS1/SWFSTRTCHILDWORKFLOWEX00
¶
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
When
cause
is set toOPERATION_NOT_PERMITTED
, the decision fails because it lacks 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_workflowid
TYPE /AWS1/SWFWORKFLOWID
/AWS1/SWFWORKFLOWID
¶
The
workflowId
of the child workflow execution.
iv_initiatedeventid
TYPE /AWS1/SWFEVENTID
/AWS1/SWFEVENTID
¶
When the
cause
isWORKFLOW_ALREADY_RUNNING
,initiatedEventId
is the ID of theStartChildWorkflowExecutionInitiated
event that corresponds to theStartChildWorkflowExecution
Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.When the
cause
isn'tWORKFLOW_ALREADY_RUNNING
,initiatedEventId
is set to0
because theStartChildWorkflowExecutionInitiated
event doesn't exist.
iv_dcsntaskcompletedeventid
TYPE /AWS1/SWFEVENTID
/AWS1/SWFEVENTID
¶
The ID of the
DecisionTaskCompleted
event corresponding to the decision task that resulted in theStartChildWorkflowExecution
Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.
Optional arguments:¶
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 child workflow execution.
Queryable Attributes¶
workflowType¶
The workflow type provided in the
StartChildWorkflowExecution
Decision that failed.
Accessible with the following methods¶
Method | Description |
---|---|
GET_WORKFLOWTYPE() |
Getter for WORKFLOWTYPE |
cause¶
The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.
When
cause
is set toOPERATION_NOT_PERMITTED
, the decision fails because it lacks 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 |
workflowId¶
The
workflowId
of the child workflow execution.
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 |
initiatedEventId¶
When the
cause
isWORKFLOW_ALREADY_RUNNING
,initiatedEventId
is the ID of theStartChildWorkflowExecutionInitiated
event that corresponds to theStartChildWorkflowExecution
Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.When the
cause
isn'tWORKFLOW_ALREADY_RUNNING
,initiatedEventId
is set to0
because theStartChildWorkflowExecutionInitiated
event doesn't exist.
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 theStartChildWorkflowExecution
Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.
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 child 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 |