Working with packages
As we saw in the last section, exporting a workflow will only export it and not the objects that we used in it. Therefore, we should have a look at packages. Packages export and import all the dependent objects that are needed to run the workflow and not just a single object.
Creating a package
Before we go ahead and export a package, we have to create one, as follows:
In your Orchestrator Client, make sure that you are in the Design mode.
- Click on Packages, .
- Select Add Package, , from the side menu.
As package name, select
com.packtpub.Orchestrator-essentials
.You will see that a new package has been added to the end of the package list.
Filling a package
Now that we have created the package, we need to fill it with objects, as follows:
Starting from where we left off, right-click on the newly created package and select Edit.
Select Workflows.
Click on the green + button.
Find the InstallFreshVM workflow, mark it, and click on Select.
You will now see that the workflow has...