You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

GetValuesForNamedID works intermittently

Received Response
7
Views
1
Comments
edited Jul 5, 2016 9:21PM in Integrations and APIs 1 comment

Content

This is in an area of code which has worked for years. For a site that we're deploying now, most of the time GetValuesForNamedID does not work when it is used to pull a list of Chat Queue Names. It works about 1 out of ten times at the present.
The actual line that fails, throwing a null exception is:
NamedID[] _chatQueueIds = _service.GetValuesForNamedID(_clientInfoHeader, null, "Incident.Chatqueue");

Can anyone think of a reason why this fails most of the time when it has never failed before?

Thank you,

Jared

Version

February 2016 Service Cloud Connect

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!