Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Mikael Jansson on August 01, 2008, 01:29:31 PM

Title: Funcint in IRD 7.6 - GetObjectProperty
Post by: Mikael Jansson on August 01, 2008, 01:29:31 PM
Hi !

Can't seem to find any docs regarding this function in IRD (GetObjectProperty).
Does anyone know how it works?
I want to pick up options in a strategy that belogs to another routingpoint the the the strategy i currently executed on.

IDR version in 7.6

/ Micke
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: René on August 02, 2008, 08:44:05 AM
Hi,

The function GetObjectProperty does support reading of application's Options only (object type has to be "Application"). You can't use it to read keys from "Annex" tab of particular DN object as such feature isn't supported by IRD/URS.

R.
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: Mikael Jansson on August 04, 2008, 07:30:14 AM
Ok, thanx
/ Micke
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: catanirex on August 05, 2008, 02:43:48 PM
Have you tried the ListObjects in CME to store your configuration?
Then you can easily get the configuration in the strategy by using the function ListGetDataCfg
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: Mikael Jansson on August 06, 2008, 07:42:22 AM
Hi !
I use ListObjects in the strategy, but I have opening hours on annex-tab of the routingpoints,
and I would like to retrive info from entry routingpoing but strategy is executed on queueing poutingpoint.
/ Micke
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: Fra on August 06, 2008, 08:00:21 AM
You can use something similar to this: GetConfigOption['OpenHours',StartFromCDN], but it would pick the option stored in the Annex section of the routing point where the strategy is running against. Can't you retrieve it when the call is on the first routing point? Or maybe move the option to the Tenant annex tab.

Francesco
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: Mikael Jansson on August 06, 2008, 08:16:20 AM
I need different hour for different routingpoings so i can't move it up in the hierarcy.
I'll see if it will be ListObject or AttachData.
Thanks...
/ Micke
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: catanirex on August 06, 2008, 02:16:44 PM
Create one section in the listobject that maps the RP number to a unique section with the Opening Hours for the specific RP. This makes it possible to have ALL Opening Hours in the samt List Object.

Example:
Section General
78892=78892_OH

RP 78892 gives section 78892_OH

Section 78892_OH
all opening times
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: Mikael Jansson on August 06, 2008, 10:03:37 PM
Hi !
Thans for the replies it looks like it will be ListObjects.
/ Micke
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: victor on August 07, 2008, 08:50:54 AM
Well, we had a similar problem and after a lot of head scratching, we decided that adding times to each routing point would be ridiculous, since it is too easy to mess it up, not to mention that there are 1000 of them and we place them in different folders.

Instead, we created an option "rp-2001-hours" = "1000-1800", "rp-2002-hours"="1200-1600" and so on, based on rp-"ThisDN"-hours inside application and then used GetConfigOption[rp+ThisDN()+hours] to get the hours. (obviously, it is Cat() and not "+", but for clarity sake...)

This way, we have all the options inside one CME object, thus easy to see, then we have create a simple tool that allowed modifying the times for each RP without a need to login into CME... So, less chance for an SV to make a mistake, while Admins can still control everything from within a single object inside CME .

Adding data under each and every RP would be nightmarish over time, since you will have to remember which RP is where, plus not to mention to if you ever decide to develop an app to take care of this, your programmers would want to kill you and dump your body on a deserted road in BRAZIL next to Cavagnaro's house.  :P

Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: Fra on August 07, 2008, 10:01:20 AM
[quote author=victor link=topic=3194.msg13210#msg13210 date=1218099054]
plus not to mention to if you ever decide to develop an app to take care of this, your programmers would want to kill you and dump your body on a deserted road in BRAZIL next to Cavagnaro's house.  :P
[/quote]
hahahaha  ;D  ;D
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: Mikael Jansson on August 07, 2008, 11:03:28 AM
Moving them from RP to some other object is a good idea, I'll consider that an ListObject.
/ Micke
Title: Re: Funcint in IRD 7.6 - GetObjectProperty
Post by: cavagnaro on August 07, 2008, 03:06:32 PM
[quote author=Fra link=topic=3194.msg13214#msg13214 date=1218103280]
[quote author=victor link=topic=3194.msg13210#msg13210 date=1218099054]
plus not to mention to if you ever decide to develop an app to take care of this, your programmers would want to kill you and dump your body on a deserted road in BRAZIL next to Cavagnaro's house.  :P
[/quote]
hahahaha  ;D  ;D
[/quote]

hahaha what is with me and Brazil!??? lol I live in Peru damn! lol Brazil is the next one!