Skip to content

/AWS1/CL_CNTAIAGENTSEARCHCRIT

The search criteria based on AI Agents metadata.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_id TYPE /AWS1/CNTAIAGENTID /AWS1/CNTAIAGENTID

ID of the AI Agent that was involved in the contact.

iv_versionnumber TYPE /AWS1/CNTAIAGENTVERSIONNUMBER /AWS1/CNTAIAGENTVERSIONNUMBER

Version of the AI agent that was involved in the contact. ID is required if VersionNumber is passed.

iv_aiagentescalated TYPE /AWS1/CNTBOOLEAN /AWS1/CNTBOOLEAN

A boolean flag indicating whether the contact initially handled by this AI agent was escalated to a human agent.

iv_aiusecase TYPE /AWS1/CNTAIUSECASE /AWS1/CNTAIUSECASE

The use case or scenario for which the AI agent is involved in the contact.


Queryable Attributes

Id

ID of the AI Agent that was involved in the contact.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

VersionNumber

Version of the AI agent that was involved in the contact. ID is required if VersionNumber is passed.

Accessible with the following methods

Method Description
GET_VERSIONNUMBER() Getter for VERSIONNUMBER, with configurable default
ASK_VERSIONNUMBER() Getter for VERSIONNUMBER w/ exceptions if field has no value
HAS_VERSIONNUMBER() Determine if VERSIONNUMBER has a value

AiAgentEscalated

A boolean flag indicating whether the contact initially handled by this AI agent was escalated to a human agent.

Accessible with the following methods

Method Description
GET_AIAGENTESCALATED() Getter for AIAGENTESCALATED, with configurable default
ASK_AIAGENTESCALATED() Getter for AIAGENTESCALATED w/ exceptions if field has no va
HAS_AIAGENTESCALATED() Determine if AIAGENTESCALATED has a value

AiUseCase

The use case or scenario for which the AI agent is involved in the contact.

Accessible with the following methods

Method Description
GET_AIUSECASE() Getter for AIUSECASE, with configurable default
ASK_AIUSECASE() Getter for AIUSECASE w/ exceptions if field has no value
HAS_AIUSECASE() Determine if AIUSECASE has a value

Public Local Types In This Class

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

TT_AIAGENTSEARCHCRITERIALIST

TYPES TT_AIAGENTSEARCHCRITERIALIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CNTAIAGENTSEARCHCRIT WITH DEFAULT KEY
.