Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: jamesmurphyau on March 19, 2009, 12:30:50 AM

Title: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.200.08
Post by: jamesmurphyau on March 19, 2009, 12:30:50 AM
Hey Guys,

I have this code:

CfgID cID = new CfgID(this.cServ,newPerson);
cID.DBID = newPerson.DBID;
cID.Type = CfgObjectType.CFGPerson;
foreach(CfgAccessGroup acg in oaGroups) {
acg.MemberIDs.Add(cID);
acg.Save();
}

It is working on one config server but not the other... It doesn't throw an error it just hangs.

Both config servers are 7.6.000.06

Any ideas?

Thanks
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.002.08
Post by: René on March 19, 2009, 06:27:16 PM
Hi,

Hard to say what went wrong without any log... How many Access Groups are on each Config server? Are there any Access Group with high number of members (hundreds, thousands...?)

R.
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.002.08
Post by: jamesmurphyau on March 26, 2009, 02:20:55 AM
Yeah we have one access group 'Users' with more then 11,000 people
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.002.08
Post by: René on March 26, 2009, 12:48:43 PM
That's quite a lot users (objects) so time to update AccessGroup will take some time.

Have you tried to measure how long it takes to add new person to that Access Group using CME?

R.
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.002.08
Post by: Adam G. on March 26, 2009, 03:32:11 PM
Rene is right. Not only does Config Server have to update all the objects but these changes get sent to all the applications with registrations on that Config Server (including CCPulse). Thus your 'hang' time is the C.S. just doing its job.

Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.002.08
Post by: jamesmurphyau on March 27, 2009, 01:22:32 AM
Doing the same task (adding one person to the access group) takes around 1-2 seconds with CME - I've waited for 10mins+ and got nothing from the platform SDK.

I've looked into it a bit more and it seems to be this:

"private static void CreateDiffStructList" in "CfgObjectUpdateHelper.cs"

it pretty much creates XML that will just have one person in the AddedMemberIds section, but to do this it needs to loop thru 11,000+ people about 4 times it seems, and it uses XML objects when looping which makes it slower.
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.002.08
Post by: René on March 29, 2009, 04:16:31 PM
Hi,

That sounds strange and seems to be bug in COM. There is no reason for reading list of existing members of an Access Group when adding new one... Could you see in the ConfigServer log that COM sends a request to get list of all Access Group members?

I read release notes of Configuration Object Model (COM) Application Block and there are some fixed errors related to operations over Access Group in the release 7.6.200.10. Could you try that version?

R.
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.200.08
Post by: jamesmurphyau on March 30, 2009, 05:53:12 AM
I just realised I posted the wrong version in the title. We actually have 7.6.200.08 PSDK

I'll get 7.6.200.10, give that a shot and post back.

Thanks
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.200.08
Post by: jamesmurphyau on April 07, 2009, 12:52:54 AM
I updated to 7.6.201.01 and the issue still exists.
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.200.08
Post by: René on April 20, 2009, 02:56:30 PM
Hi,

In that case I would recommend you to open ticket with Genesys TechSupport as COM AB is fully supported product.

In the meantime...

A/ You can try to describe your issue on official Genesys Forum (https://devcommunity.genesyslab.com/forums/) as well. That forum is monitored by guys responsible for SDKs products and they are able to help in most cases.

B/ If it's bug in COM AB then you can try to use "pure" Configuration PSDK only.

R.
Title: Re: Assigning CfgAccessGroup to CfgPerson - Platform SDK 7.6.200.08
Post by: jamesmurphyau on April 22, 2009, 06:31:14 AM
I've opened a ticket and its with tier 3 support.

Will update with what happens when I hear something.
Title: fafvmypVenbwBPClr
Post by: Pol74 on October 22, 2009, 08:19:24 PM
If they are good, I can take all the credit. ,