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

Retrieving Primary Contact's Email Address from an Incident using ROQL

Received Response
37
Views
11
Comments
edited Feb 17, 2016 2:21AM in UI Extensibility 11 comments

Content

Hi there,

I am trying to retrieve the email address for the primary contacts assigned to a set of custom Incident types.

Currently I have the following which I believe is retrieving the incident ID.

SELECT I.PrimaryContact.Contact FROM Incident I WHERE I.CustomFields.c.incident_type.LookupName='EBS'

I have tried locating the email address using the Connect Object Explorer but have had no luck so far.

Could someone let me know the ROQL query I should be using to retrieve this or point me in the right direction?

Any help is greatly appreciated

Regards,

Mark

Version

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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