Business rule Abort action not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2023 12:59 AM
I have given abort action for a table in a Business rule based on the conditions it is not creating a entry in the table as expected when we try to submit from portal but in native UI it is creating the entry in the table. How to stop creating the entry in table even we try to submit from native UI.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2023 02:28 AM
Business rule work at server level & thus should work irrespective of portal or native UI.
Please share the configurations & trigger conditions for the BR.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2023 01:17 AM
Hi @VISWANATH KAMAL ,
Hope You are doing great.
To troubleshoot try following below steps to check the issue:
Verify that the abort action is properly implemented within the Business rule. The abort action should be triggered based on the specific conditions that indicate the entry should not be created in the table.
Check the sequence of the Business rule within the system. If there are multiple Business rules operating on the same table, ensure that the abort action is placed before any other rules that might override it. The order of execution is crucial in ServiceNow.
If you have confirmed that the abort action is correctly implemented and the sequence of rules is appropriate, consider examining the differences between the portal and native UI submission processes. Look for any specific events or functions triggered during the submission process that might affect the creation of the entry.
Utilize client-side scripting or UI policies to enforce additional validation rules on the native UI submission form. By adding these validations, you can prevent the submission of the form if certain conditions are not met, thus avoiding the creation of the entry in the table.
if this doesn't work , please share confguration built to look into it.
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2023 03:06 AM
Ideally the server side script works in same way for both native UI and portal UI. Maybe you can share the screenshot of your BR.
Note: Abort action works only in global scope and fails in other scopes. So you can double check if the abort action is executed in global scope.