Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

write access to impact and urgency fields only one group and that group members in incident form

Tharun13
Tera Contributor

Hi Team,

write access to impact and urgency fields only one group and that group members in incident form.

 

Regards,

Tharun

1 REPLY 1

ayan_murshad
Tera Guru

Hi @Tharun13 ,

Create an ACL for Write and put this code there, that should work.

In the script, put the code like below

if(gs.getUser().isMemberOf("your group NAME")){
	answer = true;
	gs.log(gs.getUser().isMemberOf("your group NAME"),"acl working now");
}else
	{
		answer = false;
	}

 Regards,

Ayan Murshad