Skip to content

/AWS1/CL_SWFWORKFLOWEXCONTIN00

Provides the details of the WorkflowExecutionContinuedAsNew event.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_dcsntaskcompletedeventid TYPE /AWS1/SWFEVENTID /AWS1/SWFEVENTID

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

iv_newexecutionrunid TYPE /AWS1/SWFWORKFLOWRUNID /AWS1/SWFWORKFLOWRUNID

The runId of the new workflow execution.

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

The task list to use for the decisions of the new (continued) workflow execution.

iv_childpolicy TYPE /AWS1/SWFCHILDPOLICY /AWS1/SWFCHILDPOLICY

The policy to use for the child workflow executions of the new execution if it 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.

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

The workflow type of this execution.

Optional arguments:

iv_input TYPE /AWS1/SWFDATA /AWS1/SWFDATA

The input provided to the new workflow execution.

iv_execstarttoclosetimeout TYPE /AWS1/SWFDURINSECONDSOPTIONAL /AWS1/SWFDURINSECONDSOPTIONAL

The total duration allowed for the new 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_taskpriority TYPE /AWS1/SWFTASKPRIORITY /AWS1/SWFTASKPRIORITY

The priority of the task to use for the decisions of the new (continued) workflow execution.

iv_taskstarttoclosetimeout TYPE /AWS1/SWFDURINSECONDSOPTIONAL /AWS1/SWFDURINSECONDSOPTIONAL

The maximum duration of decision tasks for the new 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 associated with the new workflow execution.

iv_lambdarole TYPE /AWS1/SWFARN /AWS1/SWFARN

The IAM role to attach to the new (continued) workflow execution.


Queryable Attributes

input

The input provided to the new 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

decisionTaskCompletedEventId

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this 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_DCSNTASKCOMPLETEDEVENTID() Getter for DECISIONTASKCOMPLETEDEVENTID

newExecutionRunId

The runId of the new workflow execution.

Accessible with the following methods

Method Description
GET_NEWEXECUTIONRUNID() Getter for NEWEXECUTIONRUNID, with configurable default
ASK_NEWEXECUTIONRUNID() Getter for NEWEXECUTIONRUNID w/ exceptions if field has no v
HAS_NEWEXECUTIONRUNID() Determine if NEWEXECUTIONRUNID has a value

executionStartToCloseTimeout

The total duration allowed for the new 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 to use for the decisions of the new (continued) workflow execution.

Accessible with the following methods

Method Description
GET_TASKLIST() Getter for TASKLIST

taskPriority

The priority of the task to use for the decisions of the new (continued) workflow execution.

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

taskStartToCloseTimeout

The maximum duration of decision tasks for the new 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

childPolicy

The policy to use for the child workflow executions of the new execution if it 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

tagList

The list of tags associated with the new 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

workflowType

The workflow type of this execution.

Accessible with the following methods

Method Description
GET_WORKFLOWTYPE() Getter for WORKFLOWTYPE

lambdaRole

The IAM role to attach to the new (continued) 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