Error in Business Rule Execution for List View Modification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 02:48 AM
Hi Community,
We are encountering an issue with a business rule when modifying fields in the list view. Below is the business rule we have written:
// If not in pending discussion state
})(current, previous);
When we try to modify the field in the list view, we get the following error:
"Condition 'Condition: current.product.changes() || current.project.changes()' in business rule 'Set Product Backlog Type' on rm_story: STRY001234 evaluated to null; skipping business rule."
Could you please help on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 03:24 AM
Please raise a high ticket with ServiceNow for the same, after checking with your team.
And please mark as helpful and mark as Accepted solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 03:27 AM
Please raise a High ticket with ServiceNow if you are not willing to update OOTB BR.
Please mark as helpful and accepted solution. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 03:48 AM
seems your update is causing record update and that is causing the OOTB business rule "Set Product Backlog Type" to trigger and it's failing.
did you debug business rule in details and see?
Update the record using form and see which business rules triggered
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-13-2025 03:53 AM
Hello @Sirisha Thota, There are a few grey areas, at least to me, in your shared script. However, what I understand is that you are trying to update custom fields in rm_story table, and while doing so, you are seeing the message (if reality is different than assumption, then please correct).
can you please try to include following line in your code after update() statement and verify
grStoryState.update(); //your existing code
grStoryState.setWorkFlow(false); //new line to be added
Regards,
Nishant