How to disable delete option from Actions on selected rows on Change request form.

Kalyani28
Tera Contributor

I wanted to remove delete option on standard change where CTASKS are created already.

1 ACCEPTED SOLUTION

Hi Kalyani,

I would recommend using ACL approach so that no new UI action is to be created

1) visit this ACL

URL: https://instanceName.service-now.com/nav_to.do?uri=sys_security_acl.do?sys_id=80dfc5fec0a801664e82539cfb7a0bfb

2) advanced checkbox as true

3) script below

answer = getValue();

function getValue(){

	if(current.change_request.type == 'standard')
		return false;
	else
		return true;

}

find_real_file.png

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Regards
Ankur

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

View solution in original post

11 REPLIES 11

Hi Ankur,

 

Whenever I confront a problem, your solution becomes so beneficial and dead on target 🙂

Thank you

@Berati Sahin 

Glad to help.

Happy learning.

Do visit my blogs and check those out.

If they help please mark as helpful and also bookmark as well

https://community.servicenow.com/community?id=community_user_profile&user=19525629dbd81fc09c9ffb651f...

Regards
Ankur

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