" /> Can you write to a transaction list from a Routing Strategy? - Genesys CTI User Forum

Author Topic: Can you write to a transaction list from a Routing Strategy?  (Read 6421 times)

Offline pspenning

  • Jr. Member
  • **
  • Posts: 99
  • Karma: 0
    • West Interactive
Can you write to a transaction list from a Routing Strategy?
« on: March 19, 2013, 08:07:49 PM »
Advertisement
Hello Everyone,
I am looking to write a strategy that will write values to a Transaction List based on a callers response.  I know I can do this through a Database but was thinking that a TL would be much easier.  I am about to start reading Genesys Docs to see if I can find a way to do this but wanted to post a quick question in case someone could offer advice.

Thank You - Perry

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #1 on: March 19, 2013, 09:09:03 PM »
Something like that (if more or less recent version of URS like 8.1.1):

SetObjectProperty[CFGTransaction, 21,NameOfListObjectHere,NameofListItemHere, key ,value]

Or if more than one property to be changed
SetObjectProperty[CFGTransaction, 21,NameOfListObjectHere,NameofListItemHere, key1, value1, key2, value2, ….]

21 is Transaction object type List.
URS application must run under account allowing writing into config data base.

Offline pspenning

  • Jr. Member
  • **
  • Posts: 99
  • Karma: 0
    • West Interactive
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #2 on: March 19, 2013, 09:24:21 PM »
Thank you so much!
I wasn't thinking of it that broadly.  I guess I had my blinders on.  That will most certainly do the trick....
I will give it a shot and I really appreciate the help.

Thanks,
Perry

Offline pspenning

  • Jr. Member
  • **
  • Posts: 99
  • Karma: 0
    • West Interactive
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #3 on: March 20, 2013, 07:18:23 AM »
Hi Terry,
I got everything done and upon testing I got this in the URS Logs:

[quote]CONT: config server error 9 - object CfgTransaction(16), property DBID(34) : Permission error. Your access privileges are insufficient for performing the requested transaction.[/quote]

I was hoping that URS would have write privileges but I guess I just can't be that lucky.
When you were referring to the write permissions, were you referring to the user that URS runs as or the user listed in the DAP that URS connects to?  The DAP also connects to the Config DB and is the same DAP that we use for IRD so I know it can write....
Thanks again for the input.
Perry

Offline pspenning

  • Jr. Member
  • **
  • Posts: 99
  • Karma: 0
    • West Interactive
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #4 on: March 20, 2013, 02:57:30 PM »
OK...  I see what the problem was.  I went to the Security Tab of the Transaction List and noticed that SYSTEM had read permissions.  I changed this to Full Control and all is working as it should.
I really appreciate you helping me solve this "Quest"  ;D

Thanks
Perry

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #5 on: March 21, 2013, 09:09:16 AM »
Is it  an undocumented function or I misunderstood something?
Looking for in IRD (version is the latest), support site solutions, but nothing found.

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #6 on: March 21, 2013, 04:24:13 PM »
Basically - yes.
Few functions (incuding SetObjectProperty, Bytes) - currently they are "on half way" to be documented (as they already used in field).
In any case you can see each and every function available in IRD (and in matched or newer versions of URS) in compiler.dat file (always present in IRD installation) which provides in human readable form declaration and description of all functions and constants.







Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #7 on: March 22, 2013, 12:37:28 PM »
thanks for the answer

Offline GMG

  • Newbie
  • *
  • Posts: 41
  • Karma: 2
  • GCP CIV 8X
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #8 on: March 24, 2013, 08:35:52 AM »
Hey Terry,

Nice information :)


--
Gaurav Gupta

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #9 on: March 25, 2013, 04:22:41 AM »
Oh my gosh!!! This is exactly what I was looking for the other day. SetObjectProperty made perfect sense, but I could never really get it to work! Terry - thank you!

Offline Dionysis

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: 8
Re: Can you write to a transaction list from a Routing Strategy?
« Reply #10 on: April 28, 2013, 02:13:54 AM »
Thanks Terry, I've been looking for a way to do this for a very long time!

I have absolutely no practical use for it right now, but at least now I know it's possible. :D