Urgent !!!!! Not able to update call state field from rest api

madanm7786
Mega Guru

Hi All,

We are not able to update State field in Call table from rest user. I checked all the business rules and data policy no restrictions. Write access is there for State field for Rest user. But still not able to update State. I am testing using rest api explorer by impersonating as rest user.

I can update all other fields in call table but State is not updating. From the UI Rest user can update the State field.

And strange behavior is, i tested even as admin, but still i cannot update State field field through rest api.

Can you please help. I checked as per my knowledge but did not find any issue. This is bit urgent.

Thanks,

Madan

1 ACCEPTED SOLUTION

madanm7786
Mega Guru

Hi All,

Thanks for your help.

I think i found the issue.

Read only was set in the dictionary level of that field. I removed the read only from dictionary level and it is working. Call state field is updating from rest api.

Thanks,

Madan

View solution in original post

8 REPLIES 8

Hi Ankur,

Yes its correct field u_call_state is the field.

madanm7786
Mega Guru

Hi All,

Thanks for your help.

I think i found the issue.

Read only was set in the dictionary level of that field. I removed the read only from dictionary level and it is working. Call state field is updating from rest api.

Thanks,

Madan

Hi Madan,

Glad to hear. Please close the thread as answered

Regards
Ankur

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

@madanm7786 

Hope you are doing good.

Let me know if I have answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

 

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