Use this procedure to add an activity to a workflow from the Activities Toolbox pane.

In the Woodgrove Bank customization scenario, Ken uses this procedure to add the WF activities Add AD DS Computer to Group and Set Activity Status to Completed to his workflow.

To add an activity to a workflow

  1. In the Management Pack Explorer, expand Workflows, right-click the workflow you want, and then click Edit. This opens the workflow in the authoring pane. For example, right-click AddComputerToADGroupWF, and then click Edit.

  2. In the Activities Toolbox pane, locate the appropriate activity group.

  3. Drag the activity you want to the authoring pane and drop it between the workflow Start and End icons, or between two existing activities. The sequence of activities displayed in the authoring pane—from the top down—represents the order in which the activities will run. To run activities in a loop or if-else structure, drag the structure activity (such as For Each Loop) onto the authoring pane first, and then drop activities into the structure activity.

    For example, drag Add AD DS Computer to Group from the Active Directory Activities group to the authoring pane and drop it between the workflow Start and End icons. Then drag Set Activity Status to Completed and drop it between the previous activity and the End icon.

  4. You can set the properties of an activity immediately after you add it to the authoring pane, or you can set the properties later.

    Note
    If you do not set the properties at this time, the activity might be marked with a Red Exclamation Point icon. This icon indicates that one or more properties of the activity must be set before the activity can run. To see a list of these required properties, click the icon.

See Also