Actions and workflows can be written by using the vRealize Orchestrator plug-in for vRealize Automation scripting objects and/or the REST client of the vRealize Automation plug-in.

When writing actions and workflows by using the REST API, you must follow these guidelines:

  • Create action and Create workflows must return the object ID received in the payload or in the "location" response header after invoking a POST operation.
  • Delete and Update actions and workflows must have an ID input to pass to the REST query.
  • Workflows run by the end user must have an input form that retrieves object names and IDs that return an array of properties.
To test REST API calls, you can use two sample workflows.
  • The Invoke VRA 8 REST Operation from URL sample workflow allows you to enter free form URLs.
  • The Invoke VRA 8 REST Operation from swagger and display result sample workflow provides a drop-down menu of services, operations, and URLs based on the vRealize Automation server Swagger.