Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: PK on August 28, 2006, 07:46:34 AM

Title: Multi-attach object in URS7
Post by: PK on August 28, 2006, 07:46:34 AM
Hello,

I think you have a really great site and it is a goldmine to people like me. I am researching enterprise  and I have noticed a "multiattach" icon. At our site, ir server attaches more than a dozen pairs of user-data making ir.log very hard to read. If I switch to multiattach, will one RequestAttachData contain multiple user-data in it redcuing the overall number of requests? I do not have URS 7.2 license to test it myself. Any info would be just great!

              -PK
*****************************************::





Title: Re: Multi-attach object in URS7
Post by: René on August 28, 2006, 09:42:31 AM
Hi PK,

Yes, you're right. One request with multiple key-value pairs is generated only by URS when using MultiAttach. Here is a part of URS log showing that kind of request:

---------------------------------------------------------
2005-11-23T12:48:58.306 Trc 04541 RequestUpdateUserData received from 360 (0004 rut_urs)
message RequestUpdateUserData
AttributeThisDN '3000'
AttributeConnID 0066014727b3fa5a
AttributeUserData [74] 00 03 00 00..
'ServiceType' 'Helpdesk'
'CustomerSegment' 'default'
'ServiceObjective' ''
AttributeReferenceID 26213
---------------------------------------------------------

René
Title: Re: Multi-attach object in URS7
Post by: ecki on August 29, 2006, 10:31:25 AM
Good news ;)

You can use mulitattach already in ver. 6.x. I am not sure with version 5.x.

The trick is you have to build up Key-Value pair list of user data you want to attach, put it in to variable and then use this variable as second parameter of function Attach[_key_,_value_] which is value. Theere is only one condirion. The _key_ parameter MUST be empty!


variable = 'key1:value1|key2:value2|key3:value3'

Attach['',variable]

cheers
e.
Title: Re: Multi-attach object in URS7
Post by: victor on August 31, 2006, 03:48:23 AM
Ecki!!!!

You are a freaking genius!!! :P

This is nothing short of awesome! I have a load of strategies that are still in 6.5 and this is what I need! I mean - this is totally awesome! :o
Way to go, dude!

Like the original poster, I have a lot of Update (not several dozens though...) and my log is a total mess.
This will make life so simple!  ::)

Thanks!!!
Vic
Title: Re: Multi-attach object in URS7
Post by: ecki on September 01, 2006, 03:41:20 AM
Yeah, mate you are bloody welcome ;D
Glad to help you.

cheers,

e.
Title: Re: Multi-attach object in URS7
Post by: Kevin on September 12, 2006, 01:42:29 AM
Victor -
The nice part about ecki's solution is that you can also manipulate those values using the List function (GetStringKey, GetIntegerKey, and their Set counterparts) in IRD if you want to massage, validate, normalize, etc those values before attaching.