get ALL fields changed and pass these to a queued event

var gru = GlideScriptRecordUtil.get(current); var fields = gru.getChangedFieldNames(); //Get changed fields with database names //Convert to JavaScript Array gs.include('j2js'); fields = j2js(fields); 

gs.eventQueue("<an_event>", current, fields , gs.getUser().getEmail()); 

Comments

Popular posts from this blog

GlideRecord setValue

Running transform maps asynchronously

variable advanced reference qualifier example