Auto create a problem if Major incident is resolved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello Everybody,
The requirement is when a Major incident is resolved then automatically a Problem ticket.
I created a BR to implement this but it is working sometime and sometimes not working.
Please check the below script and let me know if any changes needed.
I installed the Major Incident Management Plugin also.
One more thing is do i need to use Major Incident Management application scope or Global scope also fine?
BR Script: After Update
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
it already happens if you resolve P1 or P2 INC
Problem is OOTB created when a major INC is Resolved.
I shared the details few months ago how and from where it's created.
You can tweak the OOTB Flow Action "Create Problem Record from Incident" and the Script Step to add/remove the new fields.
sharing the link where I responded earlier
Automatic problem record is getting created when M1/M2 incident getting resolved
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
if you are still using that custom BR then update this line
I hope your BR condition is proper
current.setValue('problem_id', problemGR.sys_id); // you should set sysId here and not number
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader