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.

What is the easiest way to concatenate value from 3 other fields and store it into the 4th field?

cai
Kilo Contributor

Would it be possible to simply create a business rule that takes the values from 3 other fields, concatenate them and separated by commas and space, and store the result in the 4th field? Thanks.

1 ACCEPTED SOLUTION

darius_koohmare
ServiceNow Employee
ServiceNow Employee

Sure, are they string fields?


Just do a business rule that in the script sets


current.u_field_four = current.u_field_one + ', ' + current.u_field_two + ', ' current.u_field_three;


View solution in original post

1 REPLY 1

darius_koohmare
ServiceNow Employee
ServiceNow Employee

Sure, are they string fields?


Just do a business rule that in the script sets


current.u_field_four = current.u_field_one + ', ' + current.u_field_two + ', ' current.u_field_three;