Skip to content

/AWS1/CL_SWFLAMBDAFUNCSCHDEV00

Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/SWFFUNCTIONID /AWS1/SWFFUNCTIONID

The unique ID of the Lambda task.

iv_name TYPE /AWS1/SWFFUNCTIONNAME /AWS1/SWFFUNCTIONNAME

The name of the Lambda function.

iv_dcsntaskcompletedeventid TYPE /AWS1/SWFEVENTID /AWS1/SWFEVENTID

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

Optional arguments:

iv_control TYPE /AWS1/SWFDATA /AWS1/SWFDATA

Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

iv_input TYPE /AWS1/SWFFUNCTIONINPUT /AWS1/SWFFUNCTIONINPUT

The input provided to the Lambda task.

iv_starttoclosetimeout TYPE /AWS1/SWFDURINSECONDSOPTIONAL /AWS1/SWFDURINSECONDSOPTIONAL

The maximum amount of time a worker can take to process the Lambda task.


Queryable Attributes

id

The unique ID of the Lambda task.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

name

The name of the Lambda function.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

control

Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

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 input provided to the Lambda task.

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

startToCloseTimeout

The maximum amount of time a worker can take to process the Lambda task.

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

decisionTaskCompletedEventId

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

Accessible with the following methods

Method Description
GET_DCSNTASKCOMPLETEDEVENTID() Getter for DECISIONTASKCOMPLETEDEVENTID