Incident

sravya Attluri
Tera Contributor

Hello ,

 

Can any one please help me on the below scenario.

How to make short description on incident editable only for assignee group members, it should be non editable for all other users.

 

Thanks in advance.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @sravya Attluri 

 

Try these links

 

https://www.servicenow.com/community/developer-forum/how-to-make-incident-editable-only-for-member-o...

 

https://www.servicenow.com/community/itsm-forum/make-assignment-group-and-assigned-to-fields-editabl...

 

Baseline code here. Give a try and share feedback.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

You can create an ACL for the same

Table : Incident

Field: Short Description

Record

Write

SCript

answer=false;
if(gs.getUser().isMemberOf(current.assignment_group)) {
answer=true;
}
else
{
answer = false;
}
-Anurag

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

UI Policy is the easiest, Client Script perhaps, and some more methods like this. Though these are Client side, not secure, cost user performance.

 

Best would be ACL, secure, if done correctly fast. Though will require customization of existing ACLs.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn