make CAB required and CAB date and time feild editable for the logged in user who is part of XYZ

siddharth26
Tera Guru

Hi,

 

I need to make CAB required and CAB date and time felid in normal change and emergency change  editable for the logged in user who is part of XYZ how can this be archived using ACL

 

thanks

 

 

1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

Hi @siddharth26,

 

You need to create WRITE Field level ACL for CAB required and CAB date and time.

 

Sample scripts. you can modifyt it accordingly.

answer= false;
if(gs.getUser().isMemberOf(gs.getProperty('add.property.name.which.contain.group.sys_id'))){
    answer= true;

}

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

View solution in original post

3 REPLIES 3

Sagar Pagar
Tera Patron

Hi @siddharth26,

 

You need to create WRITE Field level ACL for CAB required and CAB date and time.

 

Sample scripts. you can modifyt it accordingly.

answer= false;
if(gs.getUser().isMemberOf(gs.getProperty('add.property.name.which.contain.group.sys_id'))){
    answer= true;

}

 

If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

Hi @siddharth26,

 

Have you looked at my comments? Let me know if have any queries.


If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow

Hi Sagar,

 

Thanks

i have created this and this worked.

 

thanks

sid