- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2025 11:52 PM
Hi Team ,
can anyone please help me on this issue .
From within an incident - Create Problem does not working - Refer attached
why this is happening , could anyone please help me on this .
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 06:00 AM
you are aborting the insert/update if group is not your group sysId
When problem is created via that button from Incident at that time of insertion assignment group is empty and the IF condition will match.
Update your BR script as this so that it checks if group is not empty
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 01:54 AM
Hi @nameisnani
Did you this?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 05:36 AM
What's your business requirement?
what's not working as expected?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 05:42 AM
From within an incident - Create Problem does not working - Refer attached
what was the issue in the BR . Please help me
After making Inactive this BR , from the incident context menu , we can able to create prb record .
but we need this BR also
(function executeRule(current, previous /*null when async*/ ) { // Replace 'Problem Manager Group' with the sys_id of the actual Problem Manager group var problemManagerGroupSysId = '19d892ee873c0d50158285d50cbb356a'; // Check if the assignment group is not the Problem Manager Group if (current.assignment_group != problemManagerGroupSysId) { gs.addErrorMessage('Please note, any problem record should be assigned to Problem_Manager ONLY.'); current.setAbortAction(true); // Prevent the record from being saved } })(current, previous);
could you please help me here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 06:00 AM
you are aborting the insert/update if group is not your group sysId
When problem is created via that button from Incident at that time of insertion assignment group is empty and the IF condition will match.
Update your BR script as this so that it checks if group is not empty
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 06:04 AM
Thank you so much , what was the issue . here