Active Roles

Forcing a delete of object within a workflow when there are sub-objects

We are using a workflow to disable inactive computers and mark them with a date for future deletion.  When the workflow runs to delete them, it errors on those that have sub objects under them such as service connection points.  When you manually delete, you are prompted to delete these objects to proceed.  Is there a means to do the same using the delete object workflow control?

No Data
  • Try and nest a search.

    The first search returns the computer object. Inside that search is a search which searches the results of the first search and deletes anything that it finds. In the nested search, change the scope from the default "Active Directory" and set it to "Object found by search activity".
No Data