Skip to content

/AWS1/CL_SWFWORKFLOWEXECCONF

The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_taskstarttoclosetimeout TYPE /AWS1/SWFDURATIONINSECONDS /AWS1/SWFDURATIONINSECONDS

The maximum duration allowed for 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.

iv_execstarttoclosetimeout TYPE /AWS1/SWFDURATIONINSECONDS /AWS1/SWFDURATIONINSECONDS

The total duration 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.

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

The task list used for the decision tasks generated for this workflow execution.

iv_childpolicy TYPE /AWS1/SWFCHILDPOLICY /AWS1/SWFCHILDPOLICY

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly 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_taskpriority TYPE /AWS1/SWFTASKPRIORITY /AWS1/SWFTASKPRIORITY

The priority assigned to 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_lambdarole TYPE /AWS1/SWFARN /AWS1/SWFARN

The IAM role attached to the child workflow execution.


Queryable Attributes

taskStartToCloseTimeout

The maximum duration allowed for 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

executionStartToCloseTimeout

The total duration 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_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 task list used for the decision tasks generated for this workflow execution.

Accessible with the following methods

Method Description
GET_TASKLIST() Getter for TASKLIST

taskPriority

The priority assigned to 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

childPolicy

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly 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

lambdaRole

The IAM role attached 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