In the last post we covered how to create Filters and Finders in WFA so that we could access WFA data through a RESTful interface. This creates a nice separation between the two systems and decouples the dependency on the WFA database for dynamically populating data in vRealize Orchestrator workflows.
Let’s look at how to take the result of the last post, query the data from vRO, and incorporate it into vRO workflows.
I’m going to be using the same workflow as before, “Create a Clustered Data ONTAP Volume”, so we will once again need four inputs:
- Cluster Name – A string with valid values being clustered Data ONTAP systems configured in WFA
- Storage Virtual Machine Name – A string with valid values being SVMs belonging to the cluster selected above.
- Volume Name – A string provided by the user.
- Volume Size (in GB) – A number provided by the user.
To get started, we are going to create vRO actions which execute REST operations against the WFA filters/finders to return the same data that we used direct SQL queries for previously. These actions will then be executed/used from the workflow presentation.