mfabrellas | 2022-06-07 17:22:30 UTC | #1
Hello community,
I would like to know if if is there any function/expression/action in Architect to get a queue-id by introducing the queue name.
I'm using /api/v2/analytics/queues/observations/query as a query for users status in a concrete queue, and I need to get easily the queue-id for different queues.
Thanks in advance,
Miguel.
MelissaBailey | 2022-06-07 17:27:42 UTC | #2
mfabrellas | 2022-06-08 09:23:10 UTC | #3
Hello @MelissaBailey,
If I'm not mistaken, that expression returns the "queue value" which is a queue-type value, and even we use ToString(FindQueue("queue-name")) function to get a string-type value, it returns the same queue name.
I´m looking for the queue-id, something like this "71cd0c41-c21a-4ba9-a558-1c8fae4c3d5a".
Thank you.
Jerome.Saint-Marc | 2022-06-08 09:59:24 UTC | #4
Hello,
FindQueue returns a variable of type Queue (which as an id and a name property). i.e. FindQueue("queue-name").id
Regards,
mfabrellas | 2022-06-08 09:59:12 UTC | #5
Thank you @Jerome.Saint-Marc and @MelissaBailey, that was the information I was missing.
mfabrellas | 2022-06-08 10:08:26 UTC | #6
By the way @Jerome.Saint-Marc and @MelissaBailey, do you know if is there any documentation about all these genesys variable properties?
MelissaBailey | 2022-06-08 13:17:17 UTC | #7
To see all the available expressions, open expression help in architect
https://help.mypurecloud.com/articles/access-functions-help/
system | 2022-07-09 13:17:38 UTC | #8
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: 15039