- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2022 02:06 AM
 
					
				
		
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2022 02:51 AM
Is your issue resolved?
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar
 
					
				
		
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2022 02:08 AM
can you share the script?
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2022 02:29 AM
var inc =new GlideRecord('incident');
inc.Query();
while(inc.next())
{
gs.print('inc.number')
}
 
					
				
		
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2022 02:31 AM
var inc =new GlideRecord('incident');
inc.query();
while(inc.next())
{
gs.print(inc.getValue("number"));
}
Aman Kumar
 
					
				
		
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2022 02:35 AM
What is the exact requirement?
var inc= new GlideRecord("incident");
inc.query();
while(inc.next())
{
 
gs.print("INC number"+inc.number); // you missed this to print
 }
Harish
