noraz123 | 2021-08-02 20:27:14 UTC | #1
I am hoping to better understand the conversations details query data model and what is able to be accomplished by queue filters.
First, my understanding is that a call be assigned to multiple queues (ie, different call segments can be in different queues, possibly when a call is transferred).
I'd like my integration to define a set of queues for calls to process (an include list). I know that I can do this with segment filters using a lot of "OR" statements and queue IDs.
However, I'd like to further filter my list and remove any call which had a segment placed in a queue that I don't want to process (an exclude list).
Is this possible? I assumed that I could use a NOT operator with segment filters, but this doesn't look to be the case.
Any easy way to further filter via the API (vs. doing this in code)?
Jerome.Saint-Marc | 2021-08-03 14:28:29 UTC | #2
Hello,
Unfortunately, no, there is no possibility to create a filter that excludes values (for all participants/segments). I mean something as you described which would say something like conversations with no participant with purpose = agent, nor no participant/segment with queueId = xxxxx
You would have to achieve this via code (getting the results and filtering the results in your code).
Regards,
noraz123 | 2021-08-03 15:40:09 UTC | #3
Thanks for confirming, much appreciated. We'll filter further after getting the results from the API.
system | 2021-09-03 15:40:31 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11648