/AWS1/IF_CNT=>SEARCHCONTACTS()¶
About SearchContacts¶
Searches contacts in an Amazon Connect instance.
Method Signature¶
METHODS /AWS1/IF_CNT~SEARCHCONTACTS
IMPORTING
!IV_INSTANCEID TYPE /AWS1/CNTINSTANCEID OPTIONAL
!IO_TIMERANGE TYPE REF TO /AWS1/CL_CNTSRCHCONTACTSTIME00 OPTIONAL
!IO_SEARCHCRITERIA TYPE REF TO /AWS1/CL_CNTSEARCHCRITERIA OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/CNTMAXRESULT100 OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/CNTLARGENEXTTOKEN OPTIONAL
!IO_SORT TYPE REF TO /AWS1/CL_CNTSORT OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_cntsearchcontactsrsp
RAISING
/AWS1/CX_CNTINTERNALSERVICEEX
/AWS1/CX_CNTINVALIDPARAMETEREX
/AWS1/CX_CNTINVALIDREQUESTEX
/AWS1/CX_CNTRESOURCENOTFOUNDEX
/AWS1/CX_CNTTHROTTLINGEX
/AWS1/CX_CNTCLIENTEXC
/AWS1/CX_CNTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_instanceid TYPE /AWS1/CNTINSTANCEID /AWS1/CNTINSTANCEID¶
The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
io_timerange TYPE REF TO /AWS1/CL_CNTSRCHCONTACTSTIME00 /AWS1/CL_CNTSRCHCONTACTSTIME00¶
Time range that you want to search results.
Optional arguments:¶
io_searchcriteria TYPE REF TO /AWS1/CL_CNTSEARCHCRITERIA /AWS1/CL_CNTSEARCHCRITERIA¶
The search criteria to be used to return contacts.
iv_maxresults TYPE /AWS1/CNTMAXRESULT100 /AWS1/CNTMAXRESULT100¶
The maximum number of results to return per page.
iv_nexttoken TYPE /AWS1/CNTLARGENEXTTOKEN /AWS1/CNTLARGENEXTTOKEN¶
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
io_sort TYPE REF TO /AWS1/CL_CNTSORT /AWS1/CL_CNTSORT¶
Specifies a field to sort by and a sort order.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_cntsearchcontactsrsp /AWS1/CL_CNTSEARCHCONTACTSRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->searchcontacts(
io_searchcriteria = new /aws1/cl_cntsearchcriteria(
io_additionaltimerange = new /aws1/cl_cntsrchcontsaddltim00(
it_criteria = VALUE /aws1/cl_cntsrchcontsaddltim01=>tt_srchcontsaddltimerangecri00(
(
new /aws1/cl_cntsrchcontsaddltim01(
io_timerange = new /aws1/cl_cntsrchcontactstime00(
iv_endtime = '20150101000000.0000000'
iv_starttime = '20150101000000.0000000'
iv_type = |string|
)
io_timestampcondition = new /aws1/cl_cntsrchcontstsmpcond(
iv_conditiontype = |string|
iv_type = |string|
)
)
)
)
iv_matchtype = |string|
)
io_agenthierarchygroups = new /aws1/cl_cntagenthierarchygrps(
it_l1ids = VALUE /aws1/cl_cnthierarchygridlst_w=>tt_hierarchygroupidlist(
( new /aws1/cl_cnthierarchygridlst_w( |string| ) )
)
it_l2ids = VALUE /aws1/cl_cnthierarchygridlst_w=>tt_hierarchygroupidlist(
( new /aws1/cl_cnthierarchygridlst_w( |string| ) )
)
it_l3ids = VALUE /aws1/cl_cnthierarchygridlst_w=>tt_hierarchygroupidlist(
( new /aws1/cl_cnthierarchygridlst_w( |string| ) )
)
it_l4ids = VALUE /aws1/cl_cnthierarchygridlst_w=>tt_hierarchygroupidlist(
( new /aws1/cl_cnthierarchygridlst_w( |string| ) )
)
it_l5ids = VALUE /aws1/cl_cnthierarchygridlst_w=>tt_hierarchygroupidlist(
( new /aws1/cl_cnthierarchygridlst_w( |string| ) )
)
)
io_contactanalysis = new /aws1/cl_cntcontactanalysis(
io_transcript = new /aws1/cl_cnttranscript(
it_criteria = VALUE /aws1/cl_cnttranscriptcriteria=>tt_transcriptcriterialist(
(
new /aws1/cl_cnttranscriptcriteria(
it_searchtext = VALUE /aws1/cl_cntsearchtextlist_w=>tt_searchtextlist(
( new /aws1/cl_cntsearchtextlist_w( |string| ) )
)
iv_matchtype = |string|
iv_participantrole = |string|
)
)
)
iv_matchtype = |string|
)
)
io_name = new /aws1/cl_cntnamecriteria(
it_searchtext = VALUE /aws1/cl_cntsearchtextlist_w=>tt_searchtextlist(
( new /aws1/cl_cntsearchtextlist_w( |string| ) )
)
iv_matchtype = |string|
)
io_routingcriteria = new /aws1/cl_cntsrchableroutingc00(
it_steps = VALUE /aws1/cl_cntsrchableroutingc01=>tt_srchableroutingcritsteplist(
(
new /aws1/cl_cntsrchableroutingc01(
io_agentcriteria = new /aws1/cl_cntsrchableagcritstep(
it_agentids = VALUE /aws1/cl_cntagentresrcidlist_w=>tt_agentresourceidlist(
( new /aws1/cl_cntagentresrcidlist_w( |string| ) )
)
iv_matchtype = |string|
)
)
)
)
)
io_searchablecontactattrs = new /aws1/cl_cntsrchablecontacta00(
it_criteria = VALUE /aws1/cl_cntsrchablecontacta01=>tt_srchablecontactattrscritlst(
(
new /aws1/cl_cntsrchablecontacta01(
it_values = VALUE /aws1/cl_cntsrchablecontacta02=>tt_srchablecontactattrvallist(
( new /aws1/cl_cntsrchablecontacta02( |string| ) )
)
iv_key = |string|
)
)
)
iv_matchtype = |string|
)
io_searchablesegmentattrs = new /aws1/cl_cntsrchablesegmenta00(
it_criteria = VALUE /aws1/cl_cntsrchablesegmenta01=>tt_srchablesegmentattrscritlst(
(
new /aws1/cl_cntsrchablesegmenta01(
it_values = VALUE /aws1/cl_cntsrchablesegmenta02=>tt_srchablesegmentattrvallist(
( new /aws1/cl_cntsrchablesegmenta02( |string| ) )
)
iv_key = |string|
)
)
)
iv_matchtype = |string|
)
it_agentids = VALUE /aws1/cl_cntagentresrcidlist_w=>tt_agentresourceidlist(
( new /aws1/cl_cntagentresrcidlist_w( |string| ) )
)
it_channels = VALUE /aws1/cl_cntchannellist_w=>tt_channellist(
( new /aws1/cl_cntchannellist_w( |string| ) )
)
it_initiationmethods = VALUE /aws1/cl_cntinitiationmthlst_w=>tt_initiationmethodlist(
( new /aws1/cl_cntinitiationmthlst_w( |string| ) )
)
it_queueids = VALUE /aws1/cl_cntqueueidlist_w=>tt_queueidlist(
( new /aws1/cl_cntqueueidlist_w( |string| ) )
)
)
io_sort = new /aws1/cl_cntsort(
iv_fieldname = |string|
iv_order = |string|
)
io_timerange = new /aws1/cl_cntsrchcontactstime00(
iv_endtime = '20150101000000.0000000'
iv_starttime = '20150101000000.0000000'
iv_type = |string|
)
iv_instanceid = |string|
iv_maxresults = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_contacts( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_arn = lo_row_1->get_arn( ).
lv_contactid = lo_row_1->get_id( ).
lv_contactid = lo_row_1->get_initialcontactid( ).
lv_contactid = lo_row_1->get_previouscontactid( ).
lv_contactinitiationmethod = lo_row_1->get_initiationmethod( ).
lv_channel = lo_row_1->get_channel( ).
lo_contactsearchsummaryque = lo_row_1->get_queueinfo( ).
IF lo_contactsearchsummaryque IS NOT INITIAL.
lv_queueid = lo_contactsearchsummaryque->get_id( ).
lv_timestamp = lo_contactsearchsummaryque->get_enqueuetimestamp( ).
ENDIF.
lo_contactsearchsummaryage = lo_row_1->get_agentinfo( ).
IF lo_contactsearchsummaryage IS NOT INITIAL.
lv_agentresourceid = lo_contactsearchsummaryage->get_id( ).
lv_timestamp = lo_contactsearchsummaryage->get_connectedtoagenttsmp( ).
ENDIF.
lv_timestamp = lo_row_1->get_initiationtimestamp( ).
lv_timestamp = lo_row_1->get_disconnecttimestamp( ).
lv_timestamp = lo_row_1->get_scheduledtimestamp( ).
LOOP AT lo_row_1->get_segmentattributes( ) into ls_row_2.
lv_key = ls_row_2-key.
lo_value = ls_row_2-value.
IF lo_value IS NOT INITIAL.
lv_segmentattributevaluest = lo_value->get_valuestring( ).
LOOP AT lo_value->get_valuemap( ) into ls_row_3.
lv_key = ls_row_3-key.
lo_value_1 = ls_row_3-value.
IF lo_value_1 IS NOT INITIAL.
lv_segmentattributevaluest = lo_value_1->get_valuestring( ).
LOOP AT lo_value_1->get_valuemap( ) into ls_row_4.
lv_key = ls_row_4-key.
lo_value_2 = ls_row_4-value.
IF lo_value_2 IS NOT INITIAL.
lv_segmentattributevaluest = lo_value_2->get_valuestring( ).
" Skipping ls_row_4-value to avoid recursion
lv_segmentattributevaluein = lo_value_2->get_valueinteger( ).
LOOP AT lo_value_2->get_valuelist( ) into lo_row_5.
lo_row_6 = lo_row_5.
IF lo_row_6 IS NOT INITIAL.
lv_segmentattributevaluest = lo_row_6->get_valuestring( ).
" Skipping lo_row_5 to avoid recursion
lv_segmentattributevaluein = lo_row_6->get_valueinteger( ).
" Skipping lo_row_5 to avoid recursion
lv_segmentattributevaluest = lo_row_6->get_valuearn( ).
ENDIF.
ENDLOOP.
lv_segmentattributevaluest = lo_value_2->get_valuearn( ).
ENDIF.
ENDLOOP.
lv_segmentattributevaluein = lo_value_1->get_valueinteger( ).
LOOP AT lo_value_1->get_valuelist( ) into lo_row_5.
lo_row_6 = lo_row_5.
IF lo_row_6 IS NOT INITIAL.
lv_segmentattributevaluest = lo_row_6->get_valuestring( ).
LOOP AT lo_row_6->get_valuemap( ) into ls_row_4.
lv_key = ls_row_4-key.
lo_value_2 = ls_row_4-value.
IF lo_value_2 IS NOT INITIAL.
lv_segmentattributevaluest = lo_value_2->get_valuestring( ).
" Skipping ls_row_4-value to avoid recursion
lv_segmentattributevaluein = lo_value_2->get_valueinteger( ).
" Skipping ls_row_4-value to avoid recursion
lv_segmentattributevaluest = lo_value_2->get_valuearn( ).
ENDIF.
ENDLOOP.
lv_segmentattributevaluein = lo_row_6->get_valueinteger( ).
" Skipping lo_row_5 to avoid recursion
lv_segmentattributevaluest = lo_row_6->get_valuearn( ).
ENDIF.
ENDLOOP.
lv_segmentattributevaluest = lo_value_1->get_valuearn( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lv_name = lo_row_1->get_name( ).
lo_routingcriteria = lo_row_1->get_routingcriteria( ).
IF lo_routingcriteria IS NOT INITIAL.
LOOP AT lo_routingcriteria->get_steps( ) into lo_row_7.
lo_row_8 = lo_row_7.
IF lo_row_8 IS NOT INITIAL.
lo_expiry = lo_row_8->get_expiry( ).
IF lo_expiry IS NOT INITIAL.
lv_durationinseconds = lo_expiry->get_durationinseconds( ).
lv_timestamp = lo_expiry->get_expirytimestamp( ).
ENDIF.
lo_expression = lo_row_8->get_expression( ).
IF lo_expression IS NOT INITIAL.
lo_attributecondition = lo_expression->get_attributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
LOOP AT lo_expression->get_andexpression( ) into lo_row_11.
lo_row_12 = lo_row_11.
IF lo_row_12 IS NOT INITIAL.
lo_attributecondition = lo_row_12->get_attributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
" Skipping lo_row_11 to avoid recursion
LOOP AT lo_row_12->get_orexpression( ) into lo_row_13.
lo_row_14 = lo_row_13.
IF lo_row_14 IS NOT INITIAL.
lo_attributecondition = lo_row_14->get_attributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
" Skipping lo_row_13 to avoid recursion
" Skipping lo_row_13 to avoid recursion
lo_attributecondition = lo_row_14->get_notattributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
ENDIF.
ENDLOOP.
lo_attributecondition = lo_row_12->get_notattributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT lo_expression->get_orexpression( ) into lo_row_11.
lo_row_12 = lo_row_11.
IF lo_row_12 IS NOT INITIAL.
lo_attributecondition = lo_row_12->get_attributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
LOOP AT lo_row_12->get_andexpression( ) into lo_row_13.
lo_row_14 = lo_row_13.
IF lo_row_14 IS NOT INITIAL.
lo_attributecondition = lo_row_14->get_attributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
" Skipping lo_row_13 to avoid recursion
" Skipping lo_row_13 to avoid recursion
lo_attributecondition = lo_row_14->get_notattributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
ENDIF.
ENDLOOP.
" Skipping lo_row_11 to avoid recursion
lo_attributecondition = lo_row_12->get_notattributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
ENDIF.
ENDLOOP.
lo_attributecondition = lo_expression->get_notattributecondition( ).
IF lo_attributecondition IS NOT INITIAL.
lv_predefinedattributename = lo_attributecondition->get_name( ).
lv_proficiencyvalue = lo_attributecondition->get_value( ).
lv_nullableproficiencyleve = lo_attributecondition->get_proficiencylevel( ).
lo_range = lo_attributecondition->get_range( ).
IF lo_range IS NOT INITIAL.
lv_nullableproficiencyleve = lo_range->get_minproficiencylevel( ).
lv_nullableproficiencyleve = lo_range->get_maxproficiencylevel( ).
ENDIF.
lo_matchcriteria = lo_attributecondition->get_matchcriteria( ).
IF lo_matchcriteria IS NOT INITIAL.
lo_agentscriteria = lo_matchcriteria->get_agentscriteria( ).
IF lo_agentscriteria IS NOT INITIAL.
LOOP AT lo_agentscriteria->get_agentids( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_agentid = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
lv_comparisonoperator = lo_attributecondition->get_comparisonoperator( ).
ENDIF.
ENDIF.
lv_routingcriteriastepstat = lo_row_8->get_status( ).
ENDIF.
ENDLOOP.
lv_timestamp = lo_routingcriteria->get_activationtimestamp( ).
lv_index = lo_routingcriteria->get_index( ).
ENDIF.
ENDIF.
ENDLOOP.
lv_largenexttoken = lo_result->get_nexttoken( ).
lv_totalcount = lo_result->get_totalcount( ).
ENDIF.