- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 04:50 AM - edited 04-17-2025 03:15 AM
Hi sir,
1. If i have a added a Parent incident by using reference field - then show the error message on the form
2, If i am adding a child incident by using related list - then show the error message on the form
for 1st scenario - i have written OnChange cs- it works perfectly.
for 2nd scenario - i have written after BR - update - works fine. but when added a parent incident then update/save the incident then it was showing the AfterBR error message. it won't comes when adding a incident in the reference field. please suggest
@Ankur Bawiskar , @Kieran Anson. @AndersBGS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 02:01 AM
it's a expected behavior
the business rule will run when you change the reference field and it's a change to parent field and the BR condition will satisfy and it will throw error
Also when the record is linked with parent via New/Edit the same BR will run as parent field is getting updated.
I believe this much info should help you.
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
04-21-2025 12:36 AM
this is the expected behavior I already informed earlier
Please keep as it is and BR will handle everything
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
04-21-2025 01:51 AM - edited 04-21-2025 01:51 AM
Yes @Ankur Bawiskar sir, my bad. can you please there is any solution for this.
or else - can you please provide any Info to explain this behavior
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 02:01 AM
it's a expected behavior
the business rule will run when you change the reference field and it's a change to parent field and the BR condition will satisfy and it will throw error
Also when the record is linked with parent via New/Edit the same BR will run as parent field is getting updated.
I believe this much info should help you.
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
04-21-2025 12:43 AM
Hello @Kusuma Sai ,
Unless there is some big misunderstanding you want the info message to show when someone adds a child incident, and when someone adds a parent incident. Correct?
In that case, as mentioned before, just keep the Business Rule as it will take care of both scenarios. No need for an additional Client Script.
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2025 02:01 AM
Yes @Robert H , info message need to show - when adding a child.
but if any user added parent incident - instead of child - this info showing - because of in the backend current incident is adding as child - then executing the BR, showing Info message.