How to calculate name based on firstname and lastname field ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2024 10:42 AM
The value should reflect automatically in the name field while writing in firstname and lastname fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2024 03:55 AM
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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2024 07:11 AM - edited ‎01-06-2024 07:12 AM
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