Skip to content

/AWS1/CL_SWFDCSNTSKSCHDEVTAT00

Provides details about the DecisionTaskScheduled event.

CONSTRUCTOR

IMPORTING

Required arguments:

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

The name of the task list in which the decision task was scheduled.

Optional arguments:

iv_taskpriority TYPE /AWS1/SWFTASKPRIORITY /AWS1/SWFTASKPRIORITY

A task priority that, if set, specifies the priority for this decision task. 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_starttoclosetimeout TYPE /AWS1/SWFDURINSECONDSOPTIONAL /AWS1/SWFDURINSECONDSOPTIONAL

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

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

iv_scheduletostarttimeout TYPE /AWS1/SWFDURINSECONDSOPTIONAL /AWS1/SWFDURINSECONDSOPTIONAL

The maximum amount of time the decision task can wait to be assigned to a worker.


Queryable Attributes

taskList

The name of the task list in which the decision task was scheduled.

Accessible with the following methods

Method Description
GET_TASKLIST() Getter for TASKLIST

taskPriority

A task priority that, if set, specifies the priority for this decision task. 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

startToCloseTimeout

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

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_STARTTOCLOSETIMEOUT() Getter for STARTTOCLOSETIMEOUT, with configurable default
ASK_STARTTOCLOSETIMEOUT() Getter for STARTTOCLOSETIMEOUT w/ exceptions if field has no
HAS_STARTTOCLOSETIMEOUT() Determine if STARTTOCLOSETIMEOUT has a value

scheduleToStartTimeout

The maximum amount of time the decision task can wait to be assigned to a worker.

Accessible with the following methods

Method Description
GET_SCHEDULETOSTARTTIMEOUT() Getter for SCHEDULETOSTARTTIMEOUT, with configurable default
ASK_SCHEDULETOSTARTTIMEOUT() Getter for SCHEDULETOSTARTTIMEOUT w/ exceptions if field has
HAS_SCHEDULETOSTARTTIMEOUT() Determine if SCHEDULETOSTARTTIMEOUT has a value