Object is undefined or null DescriptionPop up /Message saying that the object is undefined.CauseIn javascript, the object was set to null as the method returned null.ResolutionInclude an if statement to check if the object is not null and then use the object properties, for example: var priority = gr. getreference("incident_prioirty")if (prioirity){ // do something with the priority }