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.

How to calculate name based on firstname and lastname field ?

akhileshv
Tera Contributor

The value should reflect automatically in the name field while writing in firstname and lastname fields.

6 REPLIES 6

AndersBGS
Tera Patron
Tera Patron

Hi @akhileshv ,

 

Please see the solution provided by @Danish Bhairag2 : https://www.servicenow.com/community/hrsd-forum/how-to-calculate-name-based-on-firstname-and-lastnam... This should work.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

best regards

Anders

 

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Amarjeet Pal
Kilo Sage
Kilo Sage

Hello @akhileshv ,

 

Try business rule instead once form is updated with first name and last name filled :

current.name = current.firstname + ' ' + current.lastname;

 

Thanks

Amarjeet Pal