current.setAbortAction(true); in After Business Rule

Vineetha Rohra1
Giga Guru

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.

7 REPLIES 7

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.


added a comment on the other thread. If these two are basically the same question, why are there two threads than? just curious.


Could you please refer to this question of mine.



Business Rule doubt



My current question has arised from above article.