The Authoring Tool provides a number of workflow activities for building basic WF workflows. Each activity performs a discrete function, such as establishing a loop structure within the workflow, running a script, or creating a Service Manager incident. The library includes the following types of activities:
- Active Directory
Activities. Activities that perform AD DS functions, such
as adding users or computers to groups.
- Control Flow
Activities. Activities that provide structure for the
workflow, such as loops and if-else branches.
- Virtual Machine Manager
Activities. Activities that you can use to build workflows
that perform simple operations with virtual machines.
- Script
Activities. Activities that run Windows PowerShell,
command-line, or Microsoft Visual Basic Scripting Edition
(VBScript) scripts.
- Service Manager
Activities. Activities that perform Service Manager
functions, such as creating or updating incidents.
The following tables list the default activities that are available with the Authoring Tool:
Active Directory Activity | Description |
---|---|
Add AD DS Computer To Group |
Use this activity to add a computer to a security group in Active Directory Domain Services. When you use this activity, make sure that the Service Manager Workflow account has sufficient permissions to modify security groups in Active Directory Domain Services. |
Add AD DS User To Group |
Use this activity to add a user to a security group in Active Directory Domain Services. When you use this activity, make sure that the Service Manager Workflow account has sufficient permissions to modify security groups in Active Directory Domain Services. |
Control Flow Activity | Description |
---|---|
Delay |
Use this activity to introduce a delay between activities in a workflow. |
For Each Loop |
Use this activity to repeat a certain set of activities for a defined number of iterations. |
IfElse |
Use this activity to control the sequence of activities within a workflow based on a Boolean (True/False) condition. You can use the outcome of a previous activity (such as a script activity) for the condition. |
Parallel |
Use this activity to fork the sequence of activities into two simultaneous sequences of activities. |
Virtual Machine Management Activity | Description |
---|---|
Get VM |
Use this activity to retrieve a list of one or more virtual machine IDs from a System Center Virtual Machine Manager (VMM) Library. |
Move VM |
Use this activity to move a virtual machine from the VMM library to a maintenance host. |
Shutdown VM |
Use this activity to shut down the guest operating system on a virtual machine. |
Start VM |
Use this activity to start a stopped or paused virtual machine. |
Save State VM |
Use this activity to save the state of a virtual machine, and then stop the virtual machine. |
Script Activity | Description |
---|---|
Command Script |
Use this activity to run a command-line script as part of a WF workflow. |
VBScript Script |
Use this activity to run a VBScript script as part of a WF workflow. |
Windows PowerShell Script |
Use this activity to run a Windows PowerShell script as part of a WF workflow. |
Service Manager Activity | Description |
---|---|
Create Incident |
Use this activity to create and populate a Service Manager incident. |
Get Incident |
Use this activity to retrieve one or more Service Manager incidents. |
Update Incident |
Use this activity to save property changes to one Service Manager incident. |
Set Activity Status To Completed |
Use this activity to update the status of a Service Manager automated activity. |