The CreatorCon Call for Content is officially open! Get started here.

Default value in a reference field

ceraulo
Mega Guru

Hello!

I have a custom table containing a field that references the User table. I want this field to have a Default value. Is this possible? I tried inputting the User ID, name, sysID of the User but it does not work.

Please help!

Thanks.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@ceraulo 

you need to put the sysId of the user record you want to see as default value

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Amrit4
Tera Guru

Hi @ceraulo  Please do like below

Amrit4_0-1681976857281.png

Please be kind enough to mark my answer helpful and accept solution if this helps you

Sandeep Rajput
Tera Patron
Tera Patron

@ceraulo This how a default value should be configured in a reference field on a table.

 

Screenshot 2023-04-20 at 1.21.30 PM.png

This is how the value gets auto-populated whenever you try to create a new record via a form.

Screenshot 2023-04-20 at 1.21.59 PM.png