Business rule query

Karishma Dubey
Tera Expert

Hi Team,

I want to populate few fields from report item section to the fields of Expense Records section once the record is created. For example, i want to map amount field of report item section to amount3 field of Expense Records section on the same table.

Which BR should i write, before insert or after insert? and what will be the script? should I first store the values in a variable and then set it?

KarishmaDubey_0-1747037874327.pngKarishmaDubey_1-1747037888199.png

 

2 ACCEPTED SOLUTIONS

J Siva
Tera Sage

Hi @Karishma Dubey 
You can acheive that using update/insert BR without scripting.

PFB.

JSiva_0-1747038874227.png

JSiva_1-1747039017207.png

 

Regards,
Siva

 

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@Karishma Dubey 

if both the fields are on same table then you can use before insert/update business rule and use either "Actions" tab to set the field value if both the field types are same

If you want to manipulate then please use script field

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

2 REPLIES 2

J Siva
Tera Sage

Hi @Karishma Dubey 
You can acheive that using update/insert BR without scripting.

PFB.

JSiva_0-1747038874227.png

JSiva_1-1747039017207.png

 

Regards,
Siva

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Karishma Dubey 

if both the fields are on same table then you can use before insert/update business rule and use either "Actions" tab to set the field value if both the field types are same

If you want to manipulate then please use script field

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