- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2019 02:31 AM
HI ,
i have created business rule on cmn_location (Global) table and i want to call setabortaction (true) method if error occured in bussines logic . but i am getting below error when setabortaction method is called. is there any other way to abort action for global table?
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2019 02:50 AM
Hi Prashant,
By any chance is this business rule created in some custom scope application. If yes then ServiceNow doesn't allow setAbortAction from other scope for global tables
Approach: Create that business rule in global scope
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
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-16-2019 02:50 AM
Hi Prashant,
By any chance is this business rule created in some custom scope application. If yes then ServiceNow doesn't allow setAbortAction from other scope for global tables
Approach: Create that business rule in global scope
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
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-16-2019 04:30 AM
global business rule automatically create after code is published?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2019 05:46 AM
Hi Prashant,
Go to application picker on right hand side and select global in the application and then create BR
screenshot below
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2022 01:07 PM
I see setAbortAction in this document. It does not work for me in scoped application though?