Get queue-id by queue name in Architect?

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.

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.

Hello,

FindQueue returns a variable of type Queue (which as an id and a name property).
i.e. FindQueue("queue-name").id

Regards,

Thank you @Jerome.Saint-Marc and @MelissaBailey, that was the information I was missing.

By the way @Jerome.Saint-Marc and @MelissaBailey, do you know if is there any documentation about all these genesys variable properties?

To see all the available expressions, open expression help in architect

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.