Skip to content

/AWS1/CL_DOAGOAL

Represents a goal with all its properties and metadata

CONSTRUCTOR

IMPORTING

Required arguments:

iv_agentspacearn TYPE /AWS1/DOASTRING /AWS1/DOASTRING

The unique identifier for the agent space containing this goal

iv_goalid TYPE /AWS1/DOASTRING /AWS1/DOASTRING

The unique identifier for this goal

iv_title TYPE /AWS1/DOASTRING /AWS1/DOASTRING

The title of the goal

io_content TYPE REF TO /AWS1/CL_DOAGOALCONTENT /AWS1/CL_DOAGOALCONTENT

Content of the goal

iv_status TYPE /AWS1/DOAGOALSTATUS /AWS1/DOAGOALSTATUS

Current status of the goal itself

iv_goaltype TYPE /AWS1/DOAGOALTYPE /AWS1/DOAGOALTYPE

Type of goal based on its origin

iv_createdat TYPE /AWS1/DOABACKLOGTIMESTAMP /AWS1/DOABACKLOGTIMESTAMP

Timestamp when this goal was created

iv_updatedat TYPE /AWS1/DOABACKLOGTIMESTAMP /AWS1/DOABACKLOGTIMESTAMP

Timestamp when this goal was last updated

iv_version TYPE /AWS1/DOAINTEGER /AWS1/DOAINTEGER

Version number for optimistic locking

Optional arguments:

iv_lastevaluatedat TYPE /AWS1/DOABACKLOGTIMESTAMP /AWS1/DOABACKLOGTIMESTAMP

Timestamp when the goal was last evaluated

iv_lasttaskid TYPE /AWS1/DOASTRING /AWS1/DOASTRING

ID of the most recent task associated with this goal

iv_lastsuccessfultaskid TYPE /AWS1/DOASTRING /AWS1/DOASTRING

ID of the most recent successful task associated with this goal

io_evaluationschedule TYPE REF TO /AWS1/CL_DOAGOALSCHEDULE /AWS1/CL_DOAGOALSCHEDULE

Goal Schedule. Allows to schedule the goal to run periodically, as well as disable a goal temporarily


Queryable Attributes

agentSpaceArn

The unique identifier for the agent space containing this goal

Accessible with the following methods

Method Description
GET_AGENTSPACEARN() Getter for AGENTSPACEARN, with configurable default
ASK_AGENTSPACEARN() Getter for AGENTSPACEARN w/ exceptions if field has no value
HAS_AGENTSPACEARN() Determine if AGENTSPACEARN has a value

goalId

The unique identifier for this goal

Accessible with the following methods

Method Description
GET_GOALID() Getter for GOALID, with configurable default
ASK_GOALID() Getter for GOALID w/ exceptions if field has no value
HAS_GOALID() Determine if GOALID has a value

title

The title of the goal

Accessible with the following methods

Method Description
GET_TITLE() Getter for TITLE, with configurable default
ASK_TITLE() Getter for TITLE w/ exceptions if field has no value
HAS_TITLE() Determine if TITLE has a value

content

Content of the goal

Accessible with the following methods

Method Description
GET_CONTENT() Getter for CONTENT

status

Current status of the goal itself

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

goalType

Type of goal based on its origin

Accessible with the following methods

Method Description
GET_GOALTYPE() Getter for GOALTYPE, with configurable default
ASK_GOALTYPE() Getter for GOALTYPE w/ exceptions if field has no value
HAS_GOALTYPE() Determine if GOALTYPE has a value

createdAt

Timestamp when this goal was created

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

updatedAt

Timestamp when this goal was last updated

Accessible with the following methods

Method Description
GET_UPDATEDAT() Getter for UPDATEDAT, with configurable default
ASK_UPDATEDAT() Getter for UPDATEDAT w/ exceptions if field has no value
HAS_UPDATEDAT() Determine if UPDATEDAT has a value

lastEvaluatedAt

Timestamp when the goal was last evaluated

Accessible with the following methods

Method Description
GET_LASTEVALUATEDAT() Getter for LASTEVALUATEDAT, with configurable default
ASK_LASTEVALUATEDAT() Getter for LASTEVALUATEDAT w/ exceptions if field has no val
HAS_LASTEVALUATEDAT() Determine if LASTEVALUATEDAT has a value

lastTaskId

ID of the most recent task associated with this goal

Accessible with the following methods

Method Description
GET_LASTTASKID() Getter for LASTTASKID, with configurable default
ASK_LASTTASKID() Getter for LASTTASKID w/ exceptions if field has no value
HAS_LASTTASKID() Determine if LASTTASKID has a value

lastSuccessfulTaskId

ID of the most recent successful task associated with this goal

Accessible with the following methods

Method Description
GET_LASTSUCCESSFULTASKID() Getter for LASTSUCCESSFULTASKID, with configurable default
ASK_LASTSUCCESSFULTASKID() Getter for LASTSUCCESSFULTASKID w/ exceptions if field has n
HAS_LASTSUCCESSFULTASKID() Determine if LASTSUCCESSFULTASKID has a value

version

Version number for optimistic locking

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value

evaluationSchedule

Goal Schedule. Allows to schedule the goal to run periodically, as well as disable a goal temporarily

Accessible with the following methods

Method Description
GET_EVALUATIONSCHEDULE() Getter for EVALUATIONSCHEDULE

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_GOALLIST

TYPES TT_GOALLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_DOAGOAL WITH DEFAULT KEY
.