1
Vote

SCCM 2007 OIP Delete Computer Failing on Nulls

description

I have version 2.7 of the SCCM 2007 OIP. I'm running into the issue when trying to delete members of a group.

In Orchestrator, I start with a "Get Collection Members" activity to return all of the members of my collection to delete from. This is followed by a "Delete SCCM Computer" activity to remove all members (by ResourceID) from the previous activity.

If there are one or more members of the collection, it works fine. If the collection is empty, however, the delete activity fails.

The only workaround I've found is a 4-activity process:
-Add New SCCM Computer (adds a new, arbitrarily named computer to SCCM)
-Modify SCCM Collection: Add Direct Member (to move the newly-created computer (by ResourceID) to the group I want to delete from
-Get Collection Members
-Delete SCCM Computer

This definitely works, but it's clumsy, requiring too many steps when I want to delete from multiple collections.

I saw an earlier post saying this was fixed in version 2.4 (or something similar was fixed with Delete SCCM Computer), but crashing on empty collections is still happening.

comments