Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Record is being aborted on update but there is no abort BR on the same table. How it is possible?

Anil Nemmikanti
Tera Guru
Tera Guru

Record is being aborted on update but there is no abort BR on the same table. But there is BR on different table which is not linked to the table. How it is possible?

13 REPLIES 13

Nawal Singh
Tera Guru

Hi @Anil Nemmikanti ,

 

A record update can be aborted even if no abort Business Rule exists on that table because:

- Indirect update:

A script (Business Rule, Script Include, Flow, etc.) on your table updates another table that does have an abort (setAbortAction(true)), and that abort propagates back to your transaction.

 

- Parent table rule:

Your table extends another table (like task, cmdb_ci, etc.) that has an abort rule.

 

- Return false:

A before Business Rule returns false, which also aborts.

 

- Flow or cross-scope error:

A synchronous Flow or scoped script fails, stopping the transaction.

 

- To find the cause:

Use Business Rule Debugger or Script Tracer to see which script sets setAbortAction(true) during your update.

 

If you found my response helpful, please mark it as helpful and accept it as the solution.

Thank you
Nawal Singh

Hi @Nawal Singh , 

 

1. I checked all the BRs they are not calling any script includes if any they are OOTB which are read-only.

2. I checked the parent table BR's as well, but nothing is there.

3. No associated flows.

4. Enabled the script debugger as well but it didn't capture anything apart from Save button code.

5. Checked all the client scripts and UI policies as well.

 

I just want to high light one thing. There is one BR which is on different table not associated with any current table is causing the issue as per my understanding. Because the abort error message coming from that BR.

 

Appreciate your time. Thanks

Hi @Anil Nemmikanti ,

Please review the BR that showing the error message- any how it will impacting your updates

Ankur Bawiskar
Tera Patron
Tera Patron

@Anil Nemmikanti 

may be your table is a child table of that other table on which BR is written.

Did you check that?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader