- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 01:12 AM
When im trying to change state filed from closed to new but it is in grey colour? could you please help me out? The file is attached below
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 01:31 AM
Hello @praveensnow9984, I'm not sure why would you like to move Incident from Closed to New state as Closed is considered as final closure and you shouldn't move this back to New state. You may break ITIL process. Instead you should think of opening a new INC.
Regarding, why you see its greyed out - use below code, and you can see its editable.
var gr=new GlideRecord('incident');
gr.addEncodedQuery('numberININC0009001');
gr.query();
while(gr.next())
{
gr.state='1';
gr.incident_state='1';
gr.close_code="Duplicate";
gr.close_notes="closed notes updated by background script";
gr.setWorkflow(false);
gr.autoSysFields(false);
gr.update();
}
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 01:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 01:31 AM
Hello @praveensnow9984, I'm not sure why would you like to move Incident from Closed to New state as Closed is considered as final closure and you shouldn't move this back to New state. You may break ITIL process. Instead you should think of opening a new INC.
Regarding, why you see its greyed out - use below code, and you can see its editable.
var gr=new GlideRecord('incident');
gr.addEncodedQuery('numberININC0009001');
gr.query();
while(gr.next())
{
gr.state='1';
gr.incident_state='1';
gr.close_code="Duplicate";
gr.close_notes="closed notes updated by background script";
gr.setWorkflow(false);
gr.autoSysFields(false);
gr.update();
}
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 01:21 AM
Hi Nishant
Im trying to get free servicenow certification done. But where can i find these from online. Could you please help me out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2025 08:00 AM
Hello @praveensnow9984, you can login to https://learning.servicenow.com/ where you can find all the certification and other details. Also, you can track your learning details at https://learning.servicenow.com/now/lxp/learning-dashboard
There are two types of certifications available: Mainline and Micro.
In the Mainline certification track, the CSA certification is available free of cost (please check the current status), but other Mainline certifications—such as CAD, CTA, etc.—are paid.
Micro certifications—such as Flow Designer, Integration Hub, etc.—are available free of cost. I strongly recommend going through them, as they can help you focus on specific areas.
Regards,
Nishant