Redirect/Remain on the same page after saving the changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 05:38 PM
Hi All,
My Business Rule is not functioning as expected. Could someone help me identify what might be missing in the code?
Here is the scenario for testing:
1. Open the problem which has opened task.
2. Update the state field to close.
3. Before saving the problem record, work on any other form like - update incident.
4. Now Go back to the problem record and right-click to save it. This action gives me the expected error, but the error message gets displayed on the incident table instead of the problem table.
.
The error message is expected to be on the problem record itself but it is opening on the incident record which I previously opened.
How can I make sure that the error message is shown in the problem record and not the other record?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 06:05 PM
Can you remove the gs.setRedirect and try?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 08:15 PM
Did not work either
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 06:51 PM
Unfortunately there is no solution, see https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0539962
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 10:20 PM
Thanks for this information Maik.