- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2020 10:39 AM
Hi Ankur,
I am running into a similar issue here where the business rule that was created in scoped app is throwing the cross-scope error as shown in the beginning of this thread. I have a question though regarding the proposed solution here - if I create business rule in the global app will that get pushed up to the app store and be published there? I am working on a scoped app that will need to uploaded into app store once it's been tested and I wonder if global objects outside the scope app will be pushed into the app store. Kindly advise.
Thanks,
John