convertion of reference type value to string type

hi All,
Am facing a problem in convertion of reference type value to the string type in UI Action.....
Actually i need to assign a reference field value from the Incident form to the string field of change request form.. it shows some 16 digit value of the exact reference field... can anyone help out this?

thanks,

bala


What you're seeing is the 32-character sys_id value for the reference field. What you see when you look at a reference field on a form (and what you probably want to copy) is the display value for the referenced record. You can get the display value for a field by doing something like this...

current.field_name.getDisplayValue()

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.