Rohit99
Mega Sage

Hi @Tarasingh26 ,You can try with the following line of code.
As you created BR before Insert so validate if it is newRecord then and then it should be update.
if (current.isNewRecord())

{

// Your code

}

 

Please mark my response as correct and helpful if it helped solved your question.

 

Thanks,

Rohit Suryawanshi