Unlocking Event Subscriptions in vRealize Automation 8

In vRealize Automation 8, the process of creating an Event Subscription has changed slightly. There are now 40 predefined Event Topics available under Extensibility Library in Cloud Assembly, which you can choose from when creating an Event Subscription. These event topics include Blueprint configuration, Kubernetes cluster allocation, compute allocation, and more. To create an Event Subscription, select the desired Event Topic, choose the ABX Action or Workflow to trigger, specify any blocking of events, and define the subscription scope. Additionally, you can review the schema of the Event Topic, which is a set of properties that will be passed to Orchestrator when an event of this topic is triggered.

When creating an Event Subscription, it’s important to understand the schema of the Event Topic. To review the schema, you can click on the “Schema” tab in the Event Subscription window. The schema is a set of properties that will be passed to Orchestrator when an event of this topic is triggered. If you are not sure about the schema of an Event Topic, you can create a blank workflow with an input variable named “inputProperties” and use the Schema to fill in the properties.

Another important aspect of creating an Event Subscription is specifying conditions. You can filter out specific events from the list of events triggered when a user requests services using Service Broker by specifying conditions. Conditions can only be specified in JavaScript syntax in the current version of vRealize Automation. For example, if you want to trigger a workflow only for a specific machine component, you can specify a condition such as event.data.blueprintId == ‘e9d2abc4-94fa-48f1-a1db-19a31510a375’ && event.data.componentId == ‘Secondary_VM’. This condition would ensure that the workflow is triggered only if the blueprint requested has an id of e9d2abc4-94fa-48f1-a1db-19a31510a375 and only for the component with id Secondary_VM.

In summary, creating an Event Subscription in vRealize Automation 8 involves selecting an Event Topic, choosing an ABX Action or Workflow to trigger, specifying any blocking of events, defining the subscription scope, and specifying conditions if desired. It’s important to understand the schema of the Event Topic and specify conditions to filter out specific events. With these steps, you can successfully create an Event Subscription in vRealize Automation 8.

Leave a Reply