Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Vic on January 01, 1970, 12:00:00 AM
-
Hi,
has anyone was working with GIS lately?
I need help with figuring out a reason WHY a particular error has happened.
For example, when using GIS to creater a new calling list, you need to add Treatment to it. Let's say you have added the treatment that does not exist in CME to that calling and then issue a request to GIS to create the list. Obviously, GIS will return an error, saying invalid reference id, but I cannot pick up a way of determining that treatment id was the reason for this error, and not format table access, for example.
Here is the error as I am able to decode it now:
foreach (XmlElement item2 in result.ChildNodes)
if (item2["errorInfo"].GetAttribute("returnCode") == "0")
{
this.statusBar.Text = "New callinglist " + myCallingList.callingListName + " successfully added";
errFlag = false;
}
else
{
errFlag = true;
//MessageBox.Show("Config Server returns with an error:\n\n" +"Item : ["+item2.GetAttribute("id").ToString()+"] processed with error : "+item2["errorInfo"]["serverErrorInfo"]["description"].InnerText);
log.WriteLine(LogType.Error, "[Function].[createCallingList][" + myCallingList.callingListName + "]: could not created");
log.WriteLine(LogType.Error, "[Function].[createCallingList][" + myCallingList.callingListName + "]: "+item2.InnerText);
return false;
}
Where do I find that treatment was the problem?