Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

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