work_notes values is coming empty while trying to create an Incident using Glide Record

kamaldev
Kilo Explorer

var gr = new GlideRecord('incident');

gr.initialize();

gr.short_description='Ticket Account' ;

gr.caller_id=workflow.scratchpad.userFullName;

gr.location=workflow.scratchpad.userLocation;

gr.work_notes='This is a high-priority incident.' ;

gr.insert();

gs.addInfoMessage('Ticket Created');

Here is my script which I have written in a workflow to create a ticket . Everything is getting inserted except the work_notes

Please help out !

11 REPLIES 11

Abhinay Erra
Giga Sage

You don't want that to put in the description?


Hi Abinay ,




Short Description is not enough to show data / Description is a different field?