- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 03:06 AM
Hi All,
We have configured a new BR on [pm_project] table in that we are creating a request using cart API and then we are trying to update the "Requested For" on [sc_req_item] table. This RITM has group approval
The moment the update statement executes , we receive an error message stating the condition of a BR written on [sysapproval_group] table.
The error message is like : "Conditon 'Condition: current.startsWith("CHG") && (current.parent.state == '-5' || current.parent.state == '-4')' in business rule 'Validation of approval' on sysapproval_group: GAPRV1504408 evaluated to null; skipping business rule".
This is a filter condition written in the "Condition" field on BR and this is nowhere printed as an statement.
The approval number displayed is the approval generated at RITM level for the newly created Request. I can not understand why is approval BR which is not even getting executed and getting skipped is displaying its condition as an error message.
Could it be like since the RITM is awaiting approval we can not update any fields on it?
Any advise would be appreciated. Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 07:13 AM
My bad misread the condition "current.startsWith("CHG")" it should have been current.number.startsWith("CHG")
Closing this thread
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 03:41 AM
please share some screenshots of your BR condition and the script
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
05-27-2025 02:44 AM
The BR condition is : Start Date of Archiving is not empty
Script is :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 07:13 AM
My bad misread the condition "current.startsWith("CHG")" it should have been current.number.startsWith("CHG")
Closing this thread