Skip to content

/AWS1/CL_PTSGETPSPFRMENGTSKRSP

Represents the response structure containing the full details of a prospecting task, including per-engagement processing results. Includes the Status field of each EngagementProspectingResult entry to determine individual outcomes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_taskid TYPE /AWS1/PTSPROSPCTTASKIDENTIFIER /AWS1/PTSPROSPCTTASKIDENTIFIER

The unique identifier of the task.

iv_taskarn TYPE /AWS1/PTSPROSPECTINGTASKARN /AWS1/PTSPROSPECTINGTASKARN

The Amazon Resource Name (ARN) of the task.

iv_taskname TYPE /AWS1/PTSTASKNAME /AWS1/PTSTASKNAME

The descriptive name of the task that you provided when you created it.

iv_starttime TYPE /AWS1/PTSDATETIME /AWS1/PTSDATETIME

The timestamp indicating when the task was initiated. The format follows ISO 8601 date-time notation.

it_engagements TYPE /AWS1/CL_PTSENGMTPROSPCTRESULT=>TT_ENGAGEMENTPROSPCTRESULTLIST TT_ENGAGEMENTPROSPCTRESULTLIST

An array of EngagementProspectingResult entries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.

Optional arguments:

iv_endtime TYPE /AWS1/PTSDATETIME /AWS1/PTSDATETIME

The timestamp indicating when the task finished processing. This field is absent if the task is still in progress. The format follows ISO 8601 date-time notation.


Queryable Attributes

TaskId

The unique identifier of the task.

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

TaskArn

The Amazon Resource Name (ARN) of the task.

Accessible with the following methods

Method Description
GET_TASKARN() Getter for TASKARN, with configurable default
ASK_TASKARN() Getter for TASKARN w/ exceptions if field has no value
HAS_TASKARN() Determine if TASKARN has a value

TaskName

The descriptive name of the task that you provided when you created it.

Accessible with the following methods

Method Description
GET_TASKNAME() Getter for TASKNAME, with configurable default
ASK_TASKNAME() Getter for TASKNAME w/ exceptions if field has no value
HAS_TASKNAME() Determine if TASKNAME has a value

StartTime

The timestamp indicating when the task was initiated. The format follows ISO 8601 date-time notation.

Accessible with the following methods

Method Description
GET_STARTTIME() Getter for STARTTIME, with configurable default
ASK_STARTTIME() Getter for STARTTIME w/ exceptions if field has no value
HAS_STARTTIME() Determine if STARTTIME has a value

EndTime

The timestamp indicating when the task finished processing. This field is absent if the task is still in progress. The format follows ISO 8601 date-time notation.

Accessible with the following methods

Method Description
GET_ENDTIME() Getter for ENDTIME, with configurable default
ASK_ENDTIME() Getter for ENDTIME w/ exceptions if field has no value
HAS_ENDTIME() Determine if ENDTIME has a value

Engagements

An array of EngagementProspectingResult entries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.

Accessible with the following methods

Method Description
GET_ENGAGEMENTS() Getter for ENGAGEMENTS, with configurable default
ASK_ENGAGEMENTS() Getter for ENGAGEMENTS w/ exceptions if field has no value
HAS_ENGAGEMENTS() Determine if ENGAGEMENTS has a value