Skip to content

/AWS1/CL_MWSWORKFLOWRUNDETAIL

Detailed information about a workflow run execution, including timing, status, error information, and associated task instances. This structure provides comprehensive visibility into the workflow execution lifecycle within the Amazon Managed Workflows for Apache Airflow Serverless serverless environment. The service tracks execution across distributed ECS worker tasks and provides detailed timing information, error diagnostics, and task instance relationships to support effective monitoring and troubleshooting of complex workflow executions.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_workflowarn TYPE /AWS1/MWSWORKFLOWARN /AWS1/MWSWORKFLOWARN

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

iv_workflowversion TYPE /AWS1/MWSVERSIONID /AWS1/MWSVERSIONID

The version of the workflow used for this run.

iv_runid TYPE /AWS1/MWSIDSTRING /AWS1/MWSIDSTRING

The unique identifier of this workflow run.

iv_runtype TYPE /AWS1/MWSRUNTYPE /AWS1/MWSRUNTYPE

The type of workflow run.

iv_startedon TYPE /AWS1/MWSTIMESTAMPVALUE /AWS1/MWSTIMESTAMPVALUE

The timestamp when the workflow run started execution, in ISO 8601 date-time format.

iv_createdat TYPE /AWS1/MWSTIMESTAMPVALUE /AWS1/MWSTIMESTAMPVALUE

The timestamp when the workflow run was created, in ISO 8601 date-time format.

iv_completedon TYPE /AWS1/MWSTIMESTAMPVALUE /AWS1/MWSTIMESTAMPVALUE

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

iv_modifiedat TYPE /AWS1/MWSTIMESTAMPVALUE /AWS1/MWSTIMESTAMPVALUE

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

iv_duration TYPE /AWS1/MWSINTEGER /AWS1/MWSINTEGER

The total duration of the workflow run execution in seconds. This value is null if the run is not complete.

iv_errormessage TYPE /AWS1/MWSGENERICSTRING /AWS1/MWSGENERICSTRING

The error message if the workflow run failed. This value is null if the run completed successfully.

it_taskinstances TYPE /AWS1/CL_MWSTASKINSTANCEIDS_W=>TT_TASKINSTANCEIDS TT_TASKINSTANCEIDS

A list of task instance IDs that are part of this workflow run.

iv_runstate TYPE /AWS1/MWSWORKFLOWRUNSTATUS /AWS1/MWSWORKFLOWRUNSTATUS

The current execution state of the workflow run.


Queryable Attributes

WorkflowArn

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

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

WorkflowVersion

The version of the workflow used for this run.

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

RunId

The unique identifier of this workflow run.

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

RunType

The type of workflow run.

Accessible with the following methods

Method Description
GET_RUNTYPE() Getter for RUNTYPE, with configurable default
ASK_RUNTYPE() Getter for RUNTYPE w/ exceptions if field has no value
HAS_RUNTYPE() Determine if RUNTYPE has a value

StartedOn

The timestamp when the workflow run started execution, in ISO 8601 date-time format.

Accessible with the following methods

Method Description
GET_STARTEDON() Getter for STARTEDON, with configurable default
ASK_STARTEDON() Getter for STARTEDON w/ exceptions if field has no value
HAS_STARTEDON() Determine if STARTEDON has a value

CreatedAt

The timestamp when the workflow run was created, in ISO 8601 date-time format.

Accessible with the following methods

Method Description
GET_CREATEDAT() Getter for CREATEDAT, with configurable default
ASK_CREATEDAT() Getter for CREATEDAT w/ exceptions if field has no value
HAS_CREATEDAT() Determine if CREATEDAT has a value

CompletedOn

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

Accessible with the following methods

Method Description
GET_COMPLETEDON() Getter for COMPLETEDON, with configurable default
ASK_COMPLETEDON() Getter for COMPLETEDON w/ exceptions if field has no value
HAS_COMPLETEDON() Determine if COMPLETEDON has a value

ModifiedAt

The timestamp when the workflow run 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

Duration

The total duration of the workflow run execution in seconds. This value is null if the run is not complete.

Accessible with the following methods

Method Description
GET_DURATION() Getter for DURATION, with configurable default
ASK_DURATION() Getter for DURATION w/ exceptions if field has no value
HAS_DURATION() Determine if DURATION has a value

ErrorMessage

The error message if the workflow run failed. This value is null if the run 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

TaskInstances

A list of task instance IDs that are part of this workflow run.

Accessible with the following methods

Method Description
GET_TASKINSTANCES() Getter for TASKINSTANCES, with configurable default
ASK_TASKINSTANCES() Getter for TASKINSTANCES w/ exceptions if field has no value
HAS_TASKINSTANCES() Determine if TASKINSTANCES has a value

RunState

The current execution state of the workflow run.

Accessible with the following methods

Method Description
GET_RUNSTATE() Getter for RUNSTATE, with configurable default
ASK_RUNSTATE() Getter for RUNSTATE w/ exceptions if field has no value
HAS_RUNSTATE() Determine if RUNSTATE has a value