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.

Current.update() after insert business rule

Rushi2
Tera Expert

Hi All, 

 

I have field A (currency type). While creating a record I give some value it has to copy on field B(current field).

After insert

current.b = current.A;

current.update();

is there any option without using current.update();

 

Regards, 

Rushi

5 REPLIES 5

Rocking_RJ
Tera Expert

Hi Rushi,

 

Current.update() is not recommended in an After insert business rule, so If you want to update any field then use Glide Record script to update the field value.

As you want the first value of field A to B then try to create your BR with Before insert , if value of field A is available at the time of record creation.