Step 1: Open the Woodgrove.AutomatedActivity.AddComputerToADGroupMP Management Pack
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Service Manager, System Center 2012 R2 Service Manager, System Center 2012 - Service Manager
The primary goal of the Woodgrove Bank customization scenario is to create a new custom activity that triggers a Windows Workflow Foundation (WF) workflow that automatically adds a computer to a group in Active Directory Domain Services (AD DS).
To create this new activity, in this step of the scenario Ken must extend the System Center 2012 – Service Manager class library by adding a new activity class that is derived from the base Activity class. This custom class includes all of the properties of the base activity class and two new properties, ComputerName and GroupName. These new properties identify the computer you are adding and the Active Directory group to which you are adding the computer. Ken also needs to define the System.AddComputerForm form that will represent the new Automated Activity: Add Computer to AD Group activity.
The necessary class activity and its associated form are already defined in the Woodgrove.AutomatedActivity.AddComputerToADGroupMP management pack. Therefore, to start the Woodgrove Bank customization scenario, Ken opens the Woodgrove.AutomatedActivity.AddComputerToADGroupMP management pack in the System Center 2012 – Service Manager Authoring Tool. Then, Ken explores the Automated Activity: Add Computer to AD Group class in the Class Browser pane.
Ken uses the Authoring Tool to complete the following procedure to open the Woodgrove.AutomatedActivity.AddComputerToADGroupMP management pack that defines the Automated Activity: Add Computer to AD Group activity and its associated form.
Start the Authoring Tool.
Click File, point to Open, and then click File.
In the Open File dialog box, click the Woodgrove.AutomatedActivity.AddComputerToGroupMP.xml file to open the management pack.
In the Authoring Tool, if the Class Browser is not visible, click View, and then click Class Browser.
Locate and expand the Automated Activity: Add Computer to AD Group class, and then view the class properties, such as ComputerName and GroupName.