kripette | 2017-09-14 08:10:40 UTC | #1
Hi,
When will Call.CurrentQueue be available for use and does it give the name of the queue defined in Admin -> Queues (under Contact Center)? We're working on an integration for a customer and I don't want to spend time on a workaround if this is around the corner.
Cheers.
Architect In-Queue Call Flow: <img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/1df800a944e5277c5a7db3aae1b26ebf195c47d6.png" width="603" height="500">
Architect built-in variables: <img src="//inin-prod-use1-developerforum.s3.amazonaws.com/original/1X/00edda4780b051ea66f0476a0ffb43bc969056f5.PNG" width="690" height="199">
tim.smith | 2017-09-14 14:17:46 UTC | #2
This feature is currently pending release (PURE-2100). Keep an eye on the Release Notes for its official release.
kripette | 2017-09-16 15:58:56 UTC | #3
Will do.
Could you add a feature request to get Call.CurrentQueueId as well?
Thanks.
Ullyot_Jim | 2017-09-17 18:17:09 UTC | #4
Unless something changes for PURE-2100, which is not anticipated as the coding effort is complete, the returned value of Call.CurrentQueue will be a queue value and not a string. Because of this, the good news is you'll be able to get at the queue identifier and queue name by accessing properties off of that Queue value like this:
Call.CurrentQueue.id - returns the identifier for the current queueCall.CurrentQueue.name - returns the name for the current queue
It is also important to note that in the event the current queue cannot be resolved at runtime, accessing the Call.CurrentQueue value will be a NOTSET queue so checking to make sure its not NOTSET prior to accessing a property is what you'll want to do to be safe. Here's an example expression that will return the current queue's name or a blank string if Call.CurrentQueue is NOT_SET:
If(IsSet(Call.CurrentQueue), Call.CurrentQueue.name, "")
And lastly, the Call.CurrentQueue variable is only available in in-queue call flows.
Jim
kripette | 2017-09-18 06:59:28 UTC | #5
That's great. Thanks for the clarification.
system | 2017-10-19 06:57:00 UTC | #6
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: 1794