Skip to content

/AWS1/CL_SWFSTRTCHILDWORKFLO00

Provides the details of the StartChildWorkflowExecutionInitiated event.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_workflowid TYPE /AWS1/SWFWORKFLOWID /AWS1/SWFWORKFLOWID

The workflowId of the child workflow execution.

io_workflowtype TYPE REF TO /AWS1/CL_SWFWORKFLOWTYPE /AWS1/CL_SWFWORKFLOWTYPE

The type of the child workflow execution.

io_tasklist TYPE REF TO /AWS1/CL_SWFTASKLIST /AWS1/CL_SWFTASKLIST

The name of the task list used for the decision tasks of the child workflow execution.

iv_dcsntaskcompletedeventid TYPE /AWS1/SWFEVENTID /AWS1/SWFEVENTID

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.

iv_childpolicy TYPE /AWS1/SWFCHILDPOLICY /AWS1/SWFCHILDPOLICY

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout.

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 a WorkflowExecutionCancelRequested 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_control TYPE /AWS1/SWFDATA /AWS1/SWFDATA

Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.

iv_input TYPE /AWS1/SWFDATA /AWS1/SWFDATA

The inputs provided to the child workflow execution.

iv_execstarttoclosetimeout TYPE /AWS1/SWFDURINSECONDSOPTIONAL /AWS1/SWFDURINSECONDSOPTIONAL

The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

iv_taskpriority TYPE /AWS1/SWFTASKPRIORITY /AWS1/SWFTASKPRIORITY

The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

iv_taskstarttoclosetimeout TYPE /AWS1/SWFDURINSECONDSOPTIONAL /AWS1/SWFDURINSECONDSOPTIONAL

The maximum duration allowed for the decision tasks for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

it_taglist TYPE /AWS1/CL_SWFTAGLIST_W=>TT_TAGLIST TT_TAGLIST

The list of tags to associated with the child workflow execution.

iv_lambdarole TYPE /AWS1/SWFARN /AWS1/SWFARN

The IAM role to attach to the child workflow execution.


Queryable Attributes

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

workflowType

The type of the child workflow execution.

Accessible with the following methods

Method Description
GET_WORKFLOWTYPE() Getter for WORKFLOWTYPE

control

Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.

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

input

The inputs provided to the child workflow execution.

Accessible with the following methods

Method Description
GET_INPUT() Getter for INPUT, with configurable default
ASK_INPUT() Getter for INPUT w/ exceptions if field has no value
HAS_INPUT() Determine if INPUT has a value

executionStartToCloseTimeout

The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

Accessible with the following methods

Method Description
GET_EXECSTARTTOCLOSETIMEOUT() Getter for EXECUTIONSTARTTOCLOSETIMEOUT, with configurable d
ASK_EXECSTARTTOCLOSETIMEOUT() Getter for EXECUTIONSTARTTOCLOSETIMEOUT w/ exceptions if fie
HAS_EXECSTARTTOCLOSETIMEOUT() Determine if EXECUTIONSTARTTOCLOSETIMEOUT has a value

taskList

The name of the task list used for the decision tasks of the child workflow execution.

Accessible with the following methods

Method Description
GET_TASKLIST() Getter for TASKLIST

taskPriority

The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

Accessible with the following methods

Method Description
GET_TASKPRIORITY() Getter for TASKPRIORITY, with configurable default
ASK_TASKPRIORITY() Getter for TASKPRIORITY w/ exceptions if field has no value
HAS_TASKPRIORITY() Determine if TASKPRIORITY has a value

decisionTaskCompletedEventId

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events.

Accessible with the following methods

Method Description
GET_DCSNTASKCOMPLETEDEVENTID() Getter for DECISIONTASKCOMPLETEDEVENTID

childPolicy

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout.

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 a WorkflowExecutionCancelRequested 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

taskStartToCloseTimeout

The maximum duration allowed for the decision tasks for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

Accessible with the following methods

Method Description
GET_TASKSTARTTOCLOSETIMEOUT() Getter for TASKSTARTTOCLOSETIMEOUT, with configurable defaul
ASK_TASKSTARTTOCLOSETIMEOUT() Getter for TASKSTARTTOCLOSETIMEOUT w/ exceptions if field ha
HAS_TASKSTARTTOCLOSETIMEOUT() Determine if TASKSTARTTOCLOSETIMEOUT has a value

tagList

The list of tags to associated with the child workflow execution.

Accessible with the following methods

Method Description
GET_TAGLIST() Getter for TAGLIST, with configurable default
ASK_TAGLIST() Getter for TAGLIST w/ exceptions if field has no value
HAS_TAGLIST() Determine if TAGLIST has a value

lambdaRole

The IAM role to attach to the child workflow execution.

Accessible with the following methods

Method Description
GET_LAMBDAROLE() Getter for LAMBDAROLE, with configurable default
ASK_LAMBDAROLE() Getter for LAMBDAROLE w/ exceptions if field has no value
HAS_LAMBDAROLE() Determine if LAMBDAROLE has a value