- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2019 10:52 AM
Hi,
I created a new field in which I want to pupulate some other fields (three fields). I am using functions fields glidefunction:concat. I wanted to concat the fields number, assigned_to and requested_by. But the fields requested_by and assigned_to aren't showing up correctly. Instead of names I am seeing random numbers and letters.
What am I doing wrong?
Solved! Go to Solution.
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2019 04:22 PM
Just do a business rule that in the script sets
current.u_field_four = current.number+ ', ' + current.assigned_to.getDisplayValue() + ', ' current.requested_by.getDisplayValue();
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2019 04:22 PM
Just do a business rule that in the script sets
current.u_field_four = current.number+ ', ' + current.assigned_to.getDisplayValue() + ', ' current.requested_by.getDisplayValue();
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2019 05:56 PM
Hi,
I assume it might be returning the sys_ids of the fields as they are reference fields. Please try the following line in your glidefunction:concat call:
glidefunction:concat(number, "|", requested_by.name, "|", assigned_to.name)
Appending ".name" to those field names will ensure you are getting the "name" attribute from the requested_by and assigned_to fields, not the sys_id.
Hope this helps!
Kind regards,
Manish