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.

Unable to make record in 'sn_wsd_core_workplace_location' table inactive

Anita Nardin
Tera Contributor

Hello everyone, I would need to make a record (Building and Area) within the 'sn_wsd_core_workplace_location' table inactive but I'm unable to do so due to an OOB ACL (sn_wsd_core_workplace_location.active) which is preventing me to do so ('Active' field is read only).

 

Looking at the script it requires the role 'sn_wsd_core.location_writer' (which I have) but it looks like it only allows records with class "Site" and "Region" to be made inactive and nothing else - can anyone explain the rationale behind this? Is there another way we can achieve this?

 

I have seen another post on the community which suggested to use the "Block Location" UI Action or uncheck "Is Reservable" however unfortunately these would not satisfy our requirement as we would need to deactivate the records as the ref qualifier for our cat item looks for active records within the table.

 

Thank you!

0 REPLIES 0