Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Make form editable even after it is closed

_Alex
Tera Contributor

I have a requirement where I am asked to make the security incident form editable and savable even after the incident is closed by a new group called security incident closer group 

I created the group and role called security incident closer 

Created an ACL, please see the screenshot 

However, when I am testing and I navigate to a closed-form, I am still not able to edit it

Is there anything I am missing at this point? is there another ACL I need to modify, that could be blocking this acl 

 

note: I have also attached a screenshot of the available acl's with matching names

find_real_file.png

 

7 REPLIES 7

Aman Kumar S
Kilo Patron

From Paris onwards I suppose we can use sys_id as well for isMemberOf function. Using sys_id is always better than name, as name can change in time.

You will also need to create '*' ACL in order to make the fields editable, and hope requires role is empty for the ACLs that you are creating

Try using:

gs.getUser().isMemberOf('sys_id_of_the_group')

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

@Aman Kumar 

 

Still unable to edit the form after using sys_id. Could you please elaborate on what you mean by create *ACL

The ACL that you are creating is something like

"tableName - none" and add your script in advanced script

You want to create one more with 

"tableName - *" and add your script in advanced script

 

find_real_file.png

 

Best Regards
Aman Kumar