I have to make field editable for group.

niveditakumari
Mega Sage

Hi, 

 

I have to make field editable 'schedule start date'. I have make changes in two acl. 

Please find attached screenshot : 

 

niveditakumari_0-1696254438754.png

 

niveditakumari_1-1696254452847.png

 

niveditakumari_0-1696257663846.png  

 

niveditakumari_1-1696257826693.png 

 

 

Please correct me to make it work. 

 

Regards, 

Nivedita 

 

 

2 REPLIES 2

Sagar Pagar
Tera Patron

Hi @niveditakumari,

 

Try by adding group sys_ids instead of group names and let me know.

 

If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow

Vishal Birajdar
Giga Sage

Hi @niveditakumari 

 

Can you try like below :

 

if (gs.getUser().isMemberOf("Grpup_1") || gs.getUser().isMemberOf("Group_2")){
answer =true;
} else {
answer =false;
}

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates