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.

Field value showing in XML but not on form

Sachin bagyal
Tera Contributor

I am populating a form field value through an Update API but its saving the value in the backend but not showing on the form.

9 REPLIES 9

Robert H
Mega Sage

Hello @Sachin bagyal ,

 

What kind of field are you populating? A reference field, choice, or text field?

Please show us how you are populating the field, and what value ends up in the XML.

 

Regards,

Robert

Its a date field which I am populating 

 

@Sachin bagyal ,

Do you populate it with a GlideDateTime object or a string that has this format: YYYY-MM-DD HH:mm:ss

For example "2025-04-11 13:49:33"?

 

What is the value that ends up in the XML?

 

Regards,

Robert

The value in XML is like '2025-04-11'.