Check that the current record is a certain table

 business rule runs on the interaction table

// This BR will only run for Incidents, so get the Sys ID and check that the record being inserted is an Incident

var sDocId = current.getValue('document_id') || ""; var grIncident = new GlideRecord('incident'); if (grIncident.get(sDocId)) {

Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

URL link in addInfoMessage