Enable relationship deletion

Authorize Freelucy to delete CI relationships.

By default, Freelucy cannot delete relationships from cmdb_rel_ci. ServiceNow scoped applications need explicit authorization to delete records on that table. You grant it once, in the global scope, using either of two methods.

triangle-exclamation

Pick one of the two methods below. They achieve the same result.


Method A — Authorize via the cmdb_rel_ci table

Use this method if you prefer to make the change directly on the table definition.

  1. From the ServiceNow homepage, click All and filter for System Definition, then open Tables.

    Open the Tables list under System Definition
  2. Search for cmdb_rel_ci under Name.

    Find cmdb_rel_ci in the Tables list
  3. Open CI Relationship.

  4. Click the Application Access tab.

    Application Access tab on the CI Relationship table
  5. Tick the Can delete checkbox and save.

Users with the Editor role can now delete relationships in Freelucy.


Method B — Authorize via an Update Set

Use this method if you prefer to deploy the change as a packaged Update Set, for example through your normal change pipeline.

  1. Download the Allow Freelucy Deleting Relationships Update Setarrow-up-right and unzip it. You should see a file named UPDATE SET Allow LUCY Deleting Relationships.xml.

  2. From the ServiceNow homepage, click All and filter for Retrieved Update Sets.

  3. Open Retrieved Update Sets.

    Retrieved Update Sets list
  4. Click Import Update Set from XML.

  5. Click Browse, pick the XML file, and click Upload.

  6. Open Allow Freelucy Deleting Relationships.

    Open the imported Update Set
  7. Click Preview Update Set.

    Preview the Update Set
  8. When the preview succeeds, close the dialog.

  9. Click Commit Update Set.

  10. When the commit succeeds, close the dialog.

Users with the Editor role can now delete relationships in Freelucy.


What's next

Continue with Grant access to users.

Last updated