" /> Funcint in IRD 7.6 - GetObjectProperty - Genesys CTI User Forum

Author Topic: Funcint in IRD 7.6 - GetObjectProperty  (Read 10891 times)

Offline Mikael Jansson

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Funcint in IRD 7.6 - GetObjectProperty
« on: August 01, 2008, 01:29:31 PM »
Advertisement
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

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #1 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.

Offline Mikael Jansson

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #2 on: August 04, 2008, 07:30:14 AM »
Ok, thanx
/ Micke

Offline catanirex

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 11
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #3 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

Offline Mikael Jansson

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #4 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

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #5 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

Offline Mikael Jansson

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #6 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

Offline catanirex

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 11
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #7 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

Offline Mikael Jansson

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #8 on: August 06, 2008, 10:03:37 PM »
Hi !
Thans for the replies it looks like it will be ListObjects.
/ Micke

Offline victor

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
  • Karma: 18
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #9 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


Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #10 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

Offline Mikael Jansson

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #11 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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Funcint in IRD 7.6 - GetObjectProperty
« Reply #12 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!