Build and test runbooks
This version of Orchestrator has reached the end of support, we recommend you to upgrade to Orchestrator 2022.
The Runbook Designer is the tool that you use to create, manage, and run runbooks. You can also run runbooks and view their status in the Orchestration Console.
To build a runbook you drag activities onto the workspace. Activities are the building blocks of runbooks. In general, individual activities perform three actions:
Access published data
Perform some action
Publish new data
For more information about types of activities, see Control runbook activities.
Runbook Designer Panes
The Runbook Designer interface is organized into the following four panes.
|Connections||The folder structure where you can organize workflows in the Orchestrator system and edit permissions on folders. Also provides access to Runbook Servers and Global Settings.|
|Runbook Designer workspace||The workspace where you build Orchestrator runbooks. The runbooks in the folder selection in the Connections pane are listed as tabs across the top of the workspace. When you select a tab in a runbook, it is displayed in the Runbook Designer workspace.|
|Activities||Contains all the activities available (either standard activities or activities available from integration packs) for use in runbooks. You drag activities from the Activities pane into the Design workspace, and then link them together to form runbooks.|
|Log||Logs showing the activity and history for the current runbook. For more information, see Orchestrator Logs.|
Sorting activities by activity name and category ame
Orchestrator lets you sort activities alphabetically by activity name, or by category name. By default, activities are sorted by category, such as Runbook Control, Email, File Management, Monitoring, Notification, Scheduling, System, Text File Management, and Tools.
Use the following steps to sort activities by their activity name and category name.
To sort activities alphabetically by activity name
In the Activities pane, right-click a category name to select All Activities.
The activities are sorted alphabetically by activity name.
To sort activities alphabetically by category name
In the Activities pane, right-click a category name to select Default.
The activities are sorted alphabetically by category name.
You can change the default size of each activity icon from small to large by right-clicking an activity name and selecting Small or Large .
To start a runbook in the Designer
In the Connections pane, click the Runbooks folder to see the available runbooks.
In the Design workspace, click a runbook tab.
If the runbook is Checked Out, select the Check In button.
In the Design workspace, right-click the runbook tab and select Run.
In the Start Runbook dialog box, go to Available Runbook Server(s) box and select the applicable server.
Click the Arrow button so that the server name is now in the Selected Runbook Servers(s) box.
To stop a job from the Runbook Designer
Click the Monitor Runbook tab.
On the toolbar, click Stop.
Testing your runbook
After you build a runbook, you can test it before it is run in production. To test, you use the Runbook Tester which you start in the Runbook Designer. The Runbook Tester lets you run the runbook to view the Published Data from each activity. You can run through the entire runbook, step through each activity one at a time, or set breakpoints at certain activities.
Runbook Tester actually performs each activity within the workflow. The steps are not performed in a simulated or virtualized environment. All the connections referenced in the runbook are live and fully functional, so any activities that modify or destroy data in connected systems cause that data to be modified or destroyed. For example, if you use the Query Database activity to DROP TABLE ImportantTable, it actually deletes the ImportantTable from the instance of Microsoft SQL Server.
Note that the account used to start the runbook must have permission on the local computer to run successfully. These permission requirements also apply when testing the runbook with the Runbook Tester. To successfully test your runbook, start the Runbook Designer as Administrator. By association, the Runbook Tester runs as Administrator and uses the higher-level security token.
To test a runbook
In the Runbook Designer, open the runbook, and on the menu bar, click Runbook Tester.
If prompted, click Yes to check out the runbook.
To run through the runbook from beginning to end without stopping, click Run to Breakpoint.
If you want to step through it one activity at a time, click Step.
View the Log pane to see the completion status of each activity. To view the details and Published Data from an activity, select the activity, and click Show Details.
To set a breakpoint
Select the activity on which to set the breakpoint.
Click Toggle Breakpoint.
Click Run to Breakpoint.
Each activity up to the breakpoint runs. The runbook pauses before running the activity with the breakpoint.
To continue through to the end of the runbook, click Run to Breakpoint again, or to step through it one activity at a time, click Step.