Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Toni on December 11, 2006, 04:00:08 PM

Title: Priority in interaction queues
Post by: Toni on December 11, 2006, 04:00:08 PM
Hi everybody!

I've been searching how to set different priorities to different interaction queues for e-mail and I didn't find anything. Could anyone helpme?
I used the function Priority[''] in the strategy but it seems not working.

For example, I want that all the mails that come to the inbound queue 1 have a higher priority than the ones from the inbound queue 2.

Thank you!

Toni
Title: Re: Priority in interaction queues
Post by: Haldane on December 11, 2006, 04:44:52 PM
Toni,
    Priority[x] where x is numeric should work. How is the VQ configured that you are sending to ?
Title: Re: Priority in interaction queues
Post by: Toni on December 11, 2006, 04:58:45 PM
Hi Haldane,

My VQ are queues where emails go after being classificated, then once they're classificated I want to give to some of those classifications more priority than the others.

As you said, putting Priority['x'] should work, but when I receive the message in the Genesys Desktop, I could see that the field for Priority is set to 0.
Title: Re: Priority in interaction queues
Post by: René on December 11, 2006, 07:45:51 PM
Hi Toni,

I'm using Priority function and it works. Be careful - you have to specify a number as a parameter not a string.

The key 'Priority' in AttachedData isn't related to URS function Priority. It's just a business attribute used by MCR/Multimedia Interaction Server. You can use Update function (Update['Priority']= number specified as the parameter of Priority function) to modify the value of this key if you want to see specified priority in GDesktop. And you can use this value to configure the order in which the interactions are passed from an Interaction Queue to a Strategy.

René
Title: Re: Priority in interaction queues
Post by: Toni on December 12, 2006, 08:39:09 AM
Hi René,

Thank you for your reply, I'll try it as you said.

Toni
Title: Re: Priority in interaction queues
Post by: Toni on December 12, 2006, 03:36:40 PM
Hi René,

I've been trying what you said me, but I don't know what I'm wrong.

I set the Priority[] function as a parameter, not as a string.

I have three e-mail interaction queues, for the first one I set maximun priority, and for the rest priority 0. The problem is that my GDesktop application receives the e-mails with no order, as if the Priority didn't work.

Could you see what I'm making badly?

Thank you in advanced!
Title: Re: Priority in interaction queues
Post by: René on December 12, 2006, 09:02:21 PM
Toni,

Could you send me URS logs showing routing of the three interactions you're talking about? Maybe I will find something there... ;-)

René
Title: Re: Priority in interaction queues
Post by: Toni on December 13, 2006, 10:17:03 AM
Hi René,

Before sending you my URS logs (reading them can be very boring for you, and I don't want to disturb you a lot ;) ) I send you an image of my routing situation, just if there's something wrong at first sight.

In the image case, I've only one agent on the agent group, and bearing in mind the priorities, he should receive mails from the email1 queue before the others, am I right?

Thank you!

Toni
Title: Re: Priority in interaction queues
Post by: Fra on December 13, 2006, 12:35:29 PM
Toni,

in my humble opinion it will never work so; priority function should not be valid [i]across[/i] different queues, but only within a single one. In your case you have three different VQs with three separeted priorities. I guess you should use instead a SelectDN that uses the target internal router queue.
Title: Re: Priority in interaction queues
Post by: René on December 13, 2006, 02:35:03 PM
Toni,

Your business process and strategies seems to be ok. Just try to use numbers higher than 10 for priorities because 10 is default one (even Genesys is saying something different in the documentation). I've made test yesterday using the similar business process and strategies as you and everything worked fine.

To Fra: Priority works correctly for multiple queues starting URS 7.0.

René
Title: Re: Priority in interaction queues
Post by: Toni on December 13, 2006, 04:02:58 PM
Hi René and Fra,

I tried better my solution and I putted Priority[10000] to queue1, for queue2 and queue3 Priority[0].

I sent the following messages for the different queues:

q2,q3,q1,q2,q2,q3,q1,q2,q3 (where q1 is a message in queue1 and so...)

Then I started GDesktop, and the agent received the following:

q2,q1,q2,q2,q2,q3,q1,q3,q3

and I suppose that the agent should have received the messages from q1 first of all...

I'll continue checking if there's something wrong, or maybe some parameter is bad configured.

Thank u,

Toni
Title: Re: Priority in interaction queues
Post by: René on December 13, 2006, 04:43:11 PM
Toni,

It's really strange because I made the test yesterday and it was working! Please do following:

- set the priorities to 70 for q1, 60 for q2, 50 for q3
- sent one email to each queue
- start GDesktop and receive the emails
- send me log of URS

BTW What version of URS and MCR do you have? I made the test using URS and Multimedia 7.2.

René
Title: Re: Priority in interaction queues
Post by: Toni on December 13, 2006, 05:13:15 PM
I'll do the test later, when nobody else can write on the URS log.

I've version URS 7.1.001.03, and Multimedia/MCR 7.1

Thank you, I'll send you the logs
Title: Re: Priority in interaction queues
Post by: Toni on December 15, 2006, 08:28:21 AM
Hi René,

I've not been able to do the test yet.  If you've done the test already, you can send me your logs, and I'll compare them with mines.
The question is that I don't want to disturb you a lot, so I'll do the work of comparing them and try to see what didn't work.

Thank you a lot!
Title: Re: Priority in interaction queues
Post by: René on December 15, 2006, 02:59:50 PM
Hi Toni,

Please find the URS log and sample strategies enclosed to this post.

René

PS. Please change the extension of attached file to "zip" only.
Title: Re: Priority in interaction queues
Post by: Toni on December 18, 2006, 10:59:15 AM
Hi René,

Sorry to disturb you again, but when I try to open the file, my winzip tells me that the file is corrupt. I changed the extension .zip.txt to just only .zip

May be it was a problem when you uploaded the file, if you could upload again the file, I'll be very pleased! :)

Thank u!
Title: Re: Priority in interaction queues
Post by: René on December 18, 2006, 11:38:18 AM
Here it is.

R.
Title: Re: Priority in interaction queues
Post by: Toni on December 19, 2006, 09:33:22 AM
Hi René,

How are u?

I downloaded your strategy and log file, I haven't had time to read your logs, but I tried your strategy (that was similar to mine) but still doesn't work. I will compare the logs file just to see what's the difference, but do you think that could be a version problem?

For example, my Interaction Server is 7.1.000.09 version, and my URS is 7.1.001.03, should I install 7.2 version? If you think so, do you recommend me to install 7.2 version of something else?

Thank you a lot.

Toni
Title: Re: Priority in interaction queues
Post by: René on December 19, 2006, 04:26:10 PM
Hi Toni,

Thanks for asking. I'm ok just a bit busy.

I wouldn't say the problem is in Interaction Server or URS 7.1 but it could be of course (it's just a piece of software ;-). Please post the log of URS here and I can check it. If I find a time I install the versions you're using and repeat the test with these. Let you know then.

René