Set Default Value to field from Reference

jenn123
Kilo Contributor

Is there a way to set the default value to a dot walked field of a reference field on the same table? See example below on the Change Order table. Would like to set the "Requested for" default value to be the business contact which comes from the Project itself (referenced in Project Number). Is there any way to do this?

find_real_file.png

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hmm...If it's not working this way I would try it in a before insert business rule instead.



current.u_requested_for = current.u_project.u_business_contact;


View solution in original post

11 REPLIES 11

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hmm...If it's not working this way I would try it in a before insert business rule instead.



current.u_requested_for = current.u_project.u_business_contact;


That worked - thanks very much!