Current.Update() in a OOTB Before type Business Rule of Major Issue Management application

Juan Miguel
Tera Expert

Hello devs, 

 

I encountered an Current.Update() in a Out of the Box Before type Bussiness rule (named MIM Candidate to Case) of the Major Issue Management application: 

 

JuanMiguel_0-1746016641698.png

 

 

Is this code correct? I was told that Current.Update() in a Before BR can cause errors. 

 

Regards

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@Juan Miguel 

yes it's an OOTB business rule and has current.update() in before business rule.

This is not best practice which ServiceNow tells but you will find a lot of components which are OOTB which don't follow these best practices.

AnkurBawiskar_0-1746017266031.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

Sandeep Rajput
Tera Patron
Tera Patron

@Juan Miguel This is super weird and not inline with the best practices. You should raise a case with ServiceNow support and bring this to their notice as this will cause multiple updates on the record.

View solution in original post

15 REPLIES 15

Ankur Bawiskar
Tera Patron
Tera Patron

@Juan Miguel 

yes it's an OOTB business rule and has current.update() in before business rule.

This is not best practice which ServiceNow tells but you will find a lot of components which are OOTB which don't follow these best practices.

AnkurBawiskar_0-1746017266031.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Juan Miguel 

Thank you for marking my response as helpful.

Please raise a case with ServiceNow

As per new community feature you can mark multiple responses as correct.

If my response helped please mark it correct as well so that it benefits future readers.

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

Sandeep Rajput
Tera Patron
Tera Patron

@Juan Miguel This is super weird and not inline with the best practices. You should raise a case with ServiceNow support and bring this to their notice as this will cause multiple updates on the record.

Thanks Sandeep, I will write them.

Anurag Tripathi
Mega Patron
Mega Patron

You are right, it is not needed, and this looks like a mistake by SserviceNow.

You can comment or delete it out but that would mark this script as updated by customer.

 

-Anurag