Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

HOw to get the Description field only editable by the user who create the incident

User687957
Mega Guru

Dear all,

 

I have a use case where I need to get the desciption field of an incident only editable by the user who create the incident. This from the self service view

For that I have created a incident.description ACL rule where I have add a script as below in advance section:

answer = (current.getValue('sys_created_by') == gs.getUserName());

 

chrome_tNda2yznzx.png

 

chrome_7wmXhtizuT.png
When I login to an other user who did not create the incident, the description field is still editable

 

Any idea ?

0 REPLIES 0