Skip to content

/AWS1/IF_CNT=>ASSOCROUTINGPROFILEQUEUES()

About AssociateRoutingProfileQueues

Associates a set of queues with a routing profile.

Method Signature

METHODS /AWS1/IF_CNT~ASSOCROUTINGPROFILEQUEUES
  IMPORTING
    !IV_INSTANCEID TYPE /AWS1/CNTINSTANCEID OPTIONAL
    !IV_ROUTINGPROFILEID TYPE /AWS1/CNTROUTINGPROFILEID OPTIONAL
    !IT_QUEUECONFIGS TYPE /AWS1/CL_CNTROUTINGPFLQUEUECFG=>TT_ROUTINGPFLQUEUECONFIGLIST OPTIONAL
    !IT_MANUALASSIGNMENTQUEUECFGS TYPE /AWS1/CL_CNTROUTINGPFLMANUAL00=>TT_ROUTINGPFLMANUALASSIGNMEN00 OPTIONAL
  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 the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

iv_routingprofileid TYPE /AWS1/CNTROUTINGPROFILEID /AWS1/CNTROUTINGPROFILEID

The identifier of the routing profile.

Optional arguments:

it_queueconfigs TYPE /AWS1/CL_CNTROUTINGPFLQUEUECFG=>TT_ROUTINGPFLQUEUECONFIGLIST TT_ROUTINGPFLQUEUECONFIGLIST

The queues to associate with this routing profile.

it_manualassignmentqueuecfgs TYPE /AWS1/CL_CNTROUTINGPFLMANUAL00=>TT_ROUTINGPFLMANUALASSIGNMEN00 TT_ROUTINGPFLMANUALASSIGNMEN00

The manual assignment queues to associate with this routing profile.

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.

lo_client->assocroutingprofilequeues(
  it_manualassignmentqueuecfgs = VALUE /aws1/cl_cntroutingpflmanual00=>tt_routingpflmanualassignmen00(
    (
      new /aws1/cl_cntroutingpflmanual00(
        io_queuereference = new /aws1/cl_cntroutingpflqueuer00(
          iv_channel = |string|
          iv_queueid = |string|
        )
      )
    )
  )
  it_queueconfigs = VALUE /aws1/cl_cntroutingpflqueuecfg=>tt_routingpflqueueconfiglist(
    (
      new /aws1/cl_cntroutingpflqueuecfg(
        io_queuereference = new /aws1/cl_cntroutingpflqueuer00(
          iv_channel = |string|
          iv_queueid = |string|
        )
        iv_delay = 123
        iv_priority = 123
      )
    )
  )
  iv_instanceid = |string|
  iv_routingprofileid = |string|
).