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
-
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
-
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.
-
Ok, thanx
/ Micke
-
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
-
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
-
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
-
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
-
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
-
Hi !
Thans for the replies it looks like it will be ListObjects.
/ Micke
-
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
-
[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
-
Moving them from RP to some other object is a good idea, I'll consider that an ListObject.
/ Micke
-
[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!