Custom field not been able to update using the API post methods

siddharth8611
Kilo Explorer

Hi All,

 

We have an issue with the custom field u_tenant which is created in the Incident , and it has choice values IT,HR. and when we do an API call POST,PUT, it updates the tenant with IT and HR but its not consistent , frequently it does not work like say it created a incident with tenant but again if we try after 15sec it does not create a value in the tenant field but incident is getting created.

could you please let us know where we have the issue any suggestion will help us.

 

this is the payload we are sending.

 

curl -s -X PUT "https://sealedairdev.service-now.com/api/now/table/incident/<sys_id>?sysparm_fields=number,u_tenant" ^
-u "<user>:<password>" ^
-H "Content-Type: application/json" ^
-H "Accept: application/json" ^
-d "{\"u_tenant\":\"IT\"}"

 We have checked the ACL , Business rule and flow logic all seems to be okay but still there is inconsistency 

any help suggestions on this 

thanks

Sid

1 REPLY 1

Hemanth M
Tera Sage

Hi @siddharth8611 ,

 

What's the backend value of IT, HR choice,  is it the same as Label?

 

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026