Incident description field not updated via API call

SP6
Giga Contributor

Hi

Was trying to create incident in ServiceNow via the below API curl call but the incident description field is not updated for regular users, it works for admin though! There was an access control (ACL) for description which I deleted but still the description field is blank when incident is created.

 

Curl Call -

curl --location --request POST 'https://dev80009.service-now.com/api/now/table/incident' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic dGVzdDp0ZXN0' \
--header 'Cookie: BIGipServerpool_dev80009=2609075978.55360.0000; JSESSIONID=03AB5C528F99C3FE4CA1954E3EAA8747; glide_user_activity=U0N2MzpVb1RSTjJDSG9ZOEJTQnR2eWFIQ0tqNmRROFZCcVQzTTpPRWpoYm1jZVBML28vWktCT0E5Y2VYclNac0pldXpsQmpINlBLV251ZktrPQ==; glide_user_route=glide.e0bd65849cb91a6b8a16a2533b5fca6d' \
--data-raw '{"short_description":"short test","description":"test"}'

 

Can someone suggest what should be done here?

 

ACL which was deleted -

find_real_file.png

NO ACL for description -

find_real_file.png

Postman result with description blank -

find_real_file.png

1 ACCEPTED SOLUTION

Alok Das
Tera Guru

Hi,

Create a new ACL on incident description field as below and your issue will be resolved.

find_real_file.png

 

find_real_file.png

 

This will allow your service account to update the incident description without any role restriction.

Now, talking about the situation where OOB ACL (which you deleted) is existing.

In that case you could have done by creating another write ACL on Incident Description field with condition as below:

find_real_file.png

 

Kindly mark my answer as Correct and Helpful based on the Impact.

Regards,

Alok

View solution in original post

13 REPLIES 13

SP6
Giga Contributor

Thanks Alok! This was helpful!

Anil83
Tera Contributor

After going to access controls tab, I cant see button to create new access control. 

 

Mine is developer account. How can I get access to create access control?

Make sure you have security_admin role and you elevated the security admin role to make any changes to ACL or create a new one.

find_real_file.png

 

find_real_file.png

Anil83
Tera Contributor

I am unable to create new ACL from my account.

Mine is developer account. do we need to do any configuration/setting changes to access creation of new ACL ?