Skip to content

/AWS1/CL_MWSGETTASKINSTRSP

GetTaskInstanceResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_workflowarn TYPE /AWS1/MWSWORKFLOWARN /AWS1/MWSWORKFLOWARN

The Amazon Resource Name (ARN) of the workflow that contains this task instance.

iv_runid TYPE /AWS1/MWSIDSTRING /AWS1/MWSIDSTRING

The unique identifier of the workflow run that contains this task instance.

iv_taskinstanceid TYPE /AWS1/MWSIDSTRING /AWS1/MWSIDSTRING

The unique identifier of this task instance.

Optional arguments:

iv_workflowversion TYPE /AWS1/MWSVERSIONID /AWS1/MWSVERSIONID

The version of the workflow that contains this task instance.

iv_status TYPE /AWS1/MWSTASKINSTANCESTATUS /AWS1/MWSTASKINSTANCESTATUS

The current status of the task instance.

iv_durationinseconds TYPE /AWS1/MWSINTEGER /AWS1/MWSINTEGER

The duration of the task instance execution in seconds. This value is null if the task is not complete.

iv_operatorname TYPE /AWS1/MWSGENERICSTRING /AWS1/MWSGENERICSTRING

The name of the Apache Airflow operator used for this task instance.

iv_modifiedat TYPE /AWS1/MWSTIMESTAMPVALUE /AWS1/MWSTIMESTAMPVALUE

The timestamp when the task instance was last modified, in ISO 8601 date-time format.

iv_endedat TYPE /AWS1/MWSTIMESTAMPVALUE /AWS1/MWSTIMESTAMPVALUE

The timestamp when the task instance completed execution, in ISO 8601 date-time format. This value is null if the task is not complete.

iv_startedat TYPE /AWS1/MWSTIMESTAMPVALUE /AWS1/MWSTIMESTAMPVALUE

The timestamp when the task instance started execution, in ISO 8601 date-time format. This value is null if the task has not started.

iv_attemptnumber TYPE /AWS1/MWSINTEGER /AWS1/MWSINTEGER

The attempt number for this task instance.

iv_errormessage TYPE /AWS1/MWSGENERICSTRING /AWS1/MWSGENERICSTRING

The error message if the task instance failed. This value is null if the task completed successfully.

iv_taskid TYPE /AWS1/MWSIDSTRING /AWS1/MWSIDSTRING

The unique identifier of the task definition within the workflow.

iv_logstream TYPE /AWS1/MWSIDSTRING /AWS1/MWSIDSTRING

The CloudWatch log stream name for this task instance execution.

it_xcom TYPE /AWS1/CL_MWSGENERICMAP_W=>TT_GENERICMAP TT_GENERICMAP

Cross-communication data exchanged between tasks in the workflow execution.


Queryable Attributes

WorkflowArn

The Amazon Resource Name (ARN) of the workflow that contains this task instance.

Accessible with the following methods

Method Description
GET_WORKFLOWARN() Getter for WORKFLOWARN, with configurable default
ASK_WORKFLOWARN() Getter for WORKFLOWARN w/ exceptions if field has no value
HAS_WORKFLOWARN() Determine if WORKFLOWARN has a value

RunId

The unique identifier of the workflow run that contains this task instance.

Accessible with the following methods

Method Description
GET_RUNID() Getter for RUNID, with configurable default
ASK_RUNID() Getter for RUNID w/ exceptions if field has no value
HAS_RUNID() Determine if RUNID has a value

TaskInstanceId

The unique identifier of this task instance.

Accessible with the following methods

Method Description
GET_TASKINSTANCEID() Getter for TASKINSTANCEID, with configurable default
ASK_TASKINSTANCEID() Getter for TASKINSTANCEID w/ exceptions if field has no valu
HAS_TASKINSTANCEID() Determine if TASKINSTANCEID has a value

WorkflowVersion

The version of the workflow that contains this task instance.

Accessible with the following methods

Method Description
GET_WORKFLOWVERSION() Getter for WORKFLOWVERSION, with configurable default
ASK_WORKFLOWVERSION() Getter for WORKFLOWVERSION w/ exceptions if field has no val
HAS_WORKFLOWVERSION() Determine if WORKFLOWVERSION has a value

Status

The current status of the task instance.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

DurationInSeconds

The duration of the task instance execution in seconds. This value is null if the task is not complete.

Accessible with the following methods

Method Description
GET_DURATIONINSECONDS() Getter for DURATIONINSECONDS, with configurable default
ASK_DURATIONINSECONDS() Getter for DURATIONINSECONDS w/ exceptions if field has no v
HAS_DURATIONINSECONDS() Determine if DURATIONINSECONDS has a value

OperatorName

The name of the Apache Airflow operator used for this task instance.

Accessible with the following methods

Method Description
GET_OPERATORNAME() Getter for OPERATORNAME, with configurable default
ASK_OPERATORNAME() Getter for OPERATORNAME w/ exceptions if field has no value
HAS_OPERATORNAME() Determine if OPERATORNAME has a value

ModifiedAt

The timestamp when the task instance was last modified, in ISO 8601 date-time format.

Accessible with the following methods

Method Description
GET_MODIFIEDAT() Getter for MODIFIEDAT, with configurable default
ASK_MODIFIEDAT() Getter for MODIFIEDAT w/ exceptions if field has no value
HAS_MODIFIEDAT() Determine if MODIFIEDAT has a value

EndedAt

The timestamp when the task instance completed execution, in ISO 8601 date-time format. This value is null if the task is not complete.

Accessible with the following methods

Method Description
GET_ENDEDAT() Getter for ENDEDAT, with configurable default
ASK_ENDEDAT() Getter for ENDEDAT w/ exceptions if field has no value
HAS_ENDEDAT() Determine if ENDEDAT has a value

StartedAt

The timestamp when the task instance started execution, in ISO 8601 date-time format. This value is null if the task has not started.

Accessible with the following methods

Method Description
GET_STARTEDAT() Getter for STARTEDAT, with configurable default
ASK_STARTEDAT() Getter for STARTEDAT w/ exceptions if field has no value
HAS_STARTEDAT() Determine if STARTEDAT has a value

AttemptNumber

The attempt number for this task instance.

Accessible with the following methods

Method Description
GET_ATTEMPTNUMBER() Getter for ATTEMPTNUMBER, with configurable default
ASK_ATTEMPTNUMBER() Getter for ATTEMPTNUMBER w/ exceptions if field has no value
HAS_ATTEMPTNUMBER() Determine if ATTEMPTNUMBER has a value

ErrorMessage

The error message if the task instance failed. This value is null if the task completed successfully.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value

TaskId

The unique identifier of the task definition within the workflow.

Accessible with the following methods

Method Description
GET_TASKID() Getter for TASKID, with configurable default
ASK_TASKID() Getter for TASKID w/ exceptions if field has no value
HAS_TASKID() Determine if TASKID has a value

LogStream

The CloudWatch log stream name for this task instance execution.

Accessible with the following methods

Method Description
GET_LOGSTREAM() Getter for LOGSTREAM, with configurable default
ASK_LOGSTREAM() Getter for LOGSTREAM w/ exceptions if field has no value
HAS_LOGSTREAM() Determine if LOGSTREAM has a value

Xcom

Cross-communication data exchanged between tasks in the workflow execution.

Accessible with the following methods

Method Description
GET_XCOM() Getter for XCOM, with configurable default
ASK_XCOM() Getter for XCOM w/ exceptions if field has no value
HAS_XCOM() Determine if XCOM has a value