In this post I’m going to show how to create a basic vCenter Orchestrator (vCO) workflow. vCO can look intimidating at first, but it only takes learning a few things to get you on your way. I’m quite new to vCO so if anyone has any helpful suggestions, please leave a comment. I’ll try to build on this workflow in later posts to provide more complex examples.
Launch the vCO client
Open a web browser and go to your vCO server. For example, mine is at http://vco5c.vmware.local (no https). You can choose to either start the vCO client from the webpage or download it to your client. In this example I’m going to start it from the webpage. If you haven’t configured vCO yet, there are a lot of blog postings on how to do it or you could see my post here that covers it.
Creating the workflow
I created a folder named ‘Blog’, which you can do by right-clicking on the vCO server and choosing to create a new folder.
Next I’m going to create a new workflow under the Blog folder by right-clicking on Blog and selecting ‘New workflow’. Make sure to actually right-click on the word Blog and not just anywhere in the area that’s highlighted dark blue or the context menu will not come up.
Give your workflow a name.
After naming your workflow you are dropped into edit mode for the workflow. There are a lot of options but here are a few highlights.
Selecting Schema will take you to the workflow editor page.
A schema with only the start and end items.
Drag the ‘Scriptable task’ item into the blue line.
You should now see the Scriptable task on your workflow schema. Give it a descriptive name.
Now we will write one line of code to produce some output, validate the workflow, save and then close.
Run the workflow
In the the next post I’ll show how to use variables within workflows.