current.setAbortAction(true); in After Business Rule

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2016 02:05 AM
I have written an After Business Rule in a scoped application.
I am evaluating certain conditions in it after which i am deciding if the record should get inserted or not.
Even when i use current.setAbortAction(true); the record still gets inserted in the table because it is 'after-insert or update' business rule.
I have some peculiar requirements because of which i cannot use before BR.
Any help would be appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2016 02:52 AM
If you want to add some data after validation that it is less or not, you can write a before BR that will do your work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2016 03:45 AM
added a comment on the other thread. If these two are basically the same question, why are there two threads than? just curious.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2016 02:37 AM
Could you please refer to this question of mine.
My current question has arised from above article.