setAbortAction(true) no tab/page refresh in SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2025 09:27 AM
I've noticed that in Before Business Rules that use setAbortAction(true), there IS a page refresh in Platform; however, there is NOT one in SOW/Service Operations Workspace. This seems to be expected behavior, as I compared to my PDI. I was wondering if folks have done anything to address this in SOW? Or just accept that is expected behavior? It's nice to have the page refresh in Platform. I understand I could do an onSubmit client script. I don't want to at this time.
Thanks!
Sarah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
22 hours ago - last edited 21 hours ago
Hi Sarah,
we have the same behavior in CSM/FSM Configurable Workspace. I found this Community Post: https://www.servicenow.com/community/spm-forum/new-project-workspace-unexpected-behavior-of-some-bus...
Seems like it is expected behavior in the new workspaces.
My issue with a Business Rule containing current.setAbortAction(true) is that it affects Info/Error Messages in our Workspace. They are not displayed correctly after saving. My workaround for it: instead of using setAbortAction, I just set the values back to previous.
Example: This Business Rule checks if a User is the only active User in an Approval Group, if he is, deactivation of the User is "aborted" with error messages:
