work_notes values is coming empty while trying to create an Incident using Glide Record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2016 08:19 AM
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 !
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2016 01:10 PM
Yes jim . thats true. its getting displayed in activity . thanks a lot
But i wanna show some form data in the incident ticket and short description is not enough for it . please help me ..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2016 01:19 PM
You can create a new field of type Journal List that will depend on work notes field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2016 01:25 PM
Is there any other way where i can show the catalog form data in the incident ticket with existing fields ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2016 01:36 PM
So we are getting off topic, but what do you mean exactly by "show the catalog form data in the incident ticket"?
You mentioned in the original post that you are creating the Incident from a Workflow. I'm going to assume the Workflow is on a particular Catalog Item and you want to show details of the Requested Item on the Incident form. Is that correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2016 11:53 PM
hi Jim ,
Yes you are absolutly correct . thats the exact requirement i am working on and short description is not enough for it ..
any leads on where i can show that form info within the existing fields
PS : i mentioned only half details but yes we are on the right path .