Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Does not copy the field on background script

Lion Kesler
Tera Contributor

Hey
I'm trying to copy field Project to field service

(The second fields are reference)
When I run I see that the field changes but I don't see the value

 

the field

LionKesler_0-1698065757075.png

 

the script:

LionKesler_1-1698065844299.png

 

 

7 REPLIES 7

Suyog Aptikar
Giga Guru

@Lion Kesler are both fields referring to same reference table, reference fields hold sys_id of the record.

can you please let me know what are you trying to achieve?

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.



Best regards

Suyog

This is not the same table
But the names are the same

Sandeep Rajput
Tera Patron
Tera Patron

@Lion Kesler Do the fields Project and Service share a common reference table? I am asking this question as the sys_id of the project field should be available inside the reference table of service field then only the service field would be populated correctly, otherwise it won't.

 

Hope this helps.

Project and service istogether in incident table 

but deferent reference