Skip to content

/AWS1/CL_PTSSTRTOPPORTUNITYF01

StartOpportunityFromEngagementTaskResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_taskid TYPE /AWS1/PTSTASKIDENTIFIER /AWS1/PTSTASKIDENTIFIER

The unique identifier of the task, used to track the task's progress.

iv_taskarn TYPE /AWS1/PTSTASKARN /AWS1/PTSTASKARN

The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.

iv_starttime TYPE /AWS1/PTSDATETIME /AWS1/PTSDATETIME

The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.

iv_taskstatus TYPE /AWS1/PTSTASKSTATUS /AWS1/PTSTASKSTATUS

Indicates the current status of the task.

iv_message TYPE /AWS1/PTSSTRING /AWS1/PTSSTRING

If the task fails, this field contains a detailed message describing the failure and possible recovery steps.

iv_reasoncode TYPE /AWS1/PTSREASONCODE /AWS1/PTSREASONCODE

Indicates the reason for task failure using an enumerated code.

iv_opportunityid TYPE /AWS1/PTSOPPORTUNITYIDENTIFIER /AWS1/PTSOPPORTUNITYIDENTIFIER

The unique identifier of the opportunity created as a result of the task. This field is populated when the task is completed successfully.

iv_resourcesnapshotjobid TYPE /AWS1/PTSRESOURCESNAPSHOTJOBID /AWS1/PTSRESOURCESNAPSHOTJOBID

The identifier of the resource snapshot job created as part of the opportunity creation process.

iv_engagementid TYPE /AWS1/PTSENGAGEMENTIDENTIFIER /AWS1/PTSENGAGEMENTIDENTIFIER

The unique identifier of the engagement from which the opportunity was created.

iv_contextid TYPE /AWS1/PTSCONTEXTIDENTIFIER /AWS1/PTSCONTEXTIDENTIFIER

The unique identifier of the engagement context used to create the opportunity.


Queryable Attributes

TaskId

The unique identifier of the task, used to track the task's progress.

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, used for tracking and managing the task within AWS.

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

StartTime

The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.

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

TaskStatus

Indicates the current status of the task.

Accessible with the following methods

Method Description
GET_TASKSTATUS() Getter for TASKSTATUS, with configurable default
ASK_TASKSTATUS() Getter for TASKSTATUS w/ exceptions if field has no value
HAS_TASKSTATUS() Determine if TASKSTATUS has a value

Message

If the task fails, this field contains a detailed message describing the failure and possible recovery steps.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value

ReasonCode

Indicates the reason for task failure using an enumerated code.

Accessible with the following methods

Method Description
GET_REASONCODE() Getter for REASONCODE, with configurable default
ASK_REASONCODE() Getter for REASONCODE w/ exceptions if field has no value
HAS_REASONCODE() Determine if REASONCODE has a value

OpportunityId

The unique identifier of the opportunity created as a result of the task. This field is populated when the task is completed successfully.

Accessible with the following methods

Method Description
GET_OPPORTUNITYID() Getter for OPPORTUNITYID, with configurable default
ASK_OPPORTUNITYID() Getter for OPPORTUNITYID w/ exceptions if field has no value
HAS_OPPORTUNITYID() Determine if OPPORTUNITYID has a value

ResourceSnapshotJobId

The identifier of the resource snapshot job created as part of the opportunity creation process.

Accessible with the following methods

Method Description
GET_RESOURCESNAPSHOTJOBID() Getter for RESOURCESNAPSHOTJOBID, with configurable default
ASK_RESOURCESNAPSHOTJOBID() Getter for RESOURCESNAPSHOTJOBID w/ exceptions if field has
HAS_RESOURCESNAPSHOTJOBID() Determine if RESOURCESNAPSHOTJOBID has a value

EngagementId

The unique identifier of the engagement from which the opportunity was created.

Accessible with the following methods

Method Description
GET_ENGAGEMENTID() Getter for ENGAGEMENTID, with configurable default
ASK_ENGAGEMENTID() Getter for ENGAGEMENTID w/ exceptions if field has no value
HAS_ENGAGEMENTID() Determine if ENGAGEMENTID has a value

ContextId

The unique identifier of the engagement context used to create the opportunity.

Accessible with the following methods

Method Description
GET_CONTEXTID() Getter for CONTEXTID, with configurable default
ASK_CONTEXTID() Getter for CONTEXTID w/ exceptions if field has no value
HAS_CONTEXTID() Determine if CONTEXTID has a value