Genesys CTI User Forum > Genesys-related Development

PSDK query/search for Interaction Queues

<< < (2/2)

abudwill:
With some Cfg Server queries you can include filters that have KVPs.  There is a KVP of key: cmp_insensitive, value: 1 which will cause queries to be case insensitive.

I have used this in PSDK/.NET to do CfgPersonQuery's in a case insensitive manner.

Some details on a Genesys wiki around this (part of a javadoc): http://www.genesyslab.info/repository/PSDK/8.0-Java_API_Reference/com/genesyslab/platform/configuration/protocol/doc-files/Configuration%20Objects/config-objects-intro.html

Regards,
Andrew


gstkein:
Thatīs great, thank you abudwill!

gstkein:
So the final code would be:

                Set<CfgScript> queues = new HashSet<CfgScript>();
CfgScriptQuery  query = new CfgScriptQuery();
query.setName(prefix);
query.setScriptType(CfgScriptType.CFGInteractionQueue);
query.setProperty("cmp_insensitive", 1); // This sets the filter
Object responseObject = protocol.requestMultiple(CfgScript.class,query);

Navigation

[0] Message Index

[*] Previous page

Go to full version