Request ticket updating comments twice, no current.update in script

SNewbies
Tera Contributor

Hello!

I am creating a request ticket via After Insert Business rule on custom table.

I am posting Additional comments while inserting the record for request and the comments are updating twice.

I did not use current.update() in BR.

Please find screenshots below for BR. I am not sure what am I missing in it.

All help is appreciated.

Thank you

SNewbies_0-1713706633597.pngSNewbies_1-1713706807292.png

 

 

2 REPLIES 2

Sujatha V M
Kilo Patron
Kilo Patron

@SNewbies Seems to be some other BR is having current.update() and its also running along the trigger order. 

 

Kindly filter it based on the respective table and check on it. 

 

Reference link : https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0870192

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Community Alums
Not applicable

Hi @SNewbies ,

I checked your code it seems there is no error in code, issue with after BR can you please change the type of BR to Before, this doing this change your problem got solve.

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 

Sarthak