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

Get Field Value Using Javascript API

Accepted answer
24
Views
2
Comments
edited Aug 29, 2018 4:45AM in Integrations and APIs 2 comments

Content

Hi everyone,

As part of a function that I'm working on, I need to get the ID of the incident's queue using JS API. I was able to find the syntax for getting the value of a custom field in the documentation ("GetCustomFieldByName)", but not for system/standard fields like Queue.

Can anyone share how to get the ID of the incident's queue? Let's assume that I have defined my incident variable as follows:

var inc = window.external.Incident;

Thanks in advance.
Ziv

Version

OSC 18A (Feb 2018)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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