Blog

Set Up An Approval Workflow in Test Drive

  • 1 December 2021
  • 0 replies
  • 285 views
Set Up An Approval Workflow in Test Drive
Userlevel 1
Badge +1

The Nutanix X-Play™ tool is a simple low-code/no-code automation feature built into the Nutanix Prism® management controller that helps you automate routine operations and tasks, and provides the ability to auto-remediate issues that may occur.

Using the X-Play tool, you can define a set of actions or a series of actions (called a “playbook”) based on a trigger, such as an event, alert, or an incoming webhook. For example, you can set up a playbook so when an alert about a VM’s memory being constrained is detected, the playbook can automatically add a specified amount of memory to the VM.

But what if you didn’t want this to automatically happen, but rather you wanted to route through an approval workflow so that an admin would have to approve the change before the memory was added? In this video, we give you a walkthrough how to set up an integrated automation process with ServiceNow describing exactly this.

With the latest Test Drive update, you can set up a similar flow using our demo ticketing system. To get started, navigate to the AI Ops & Automation tab on the Nutanix® Test Drive landing page.

Once you are logged in, you will be presented with the Automate Operations menu.

Click on “Intelligent Operations”.

From the “Intelligent IT Operations” menu, click on “Remediation with Governance” to begin the walkthrough.

This walkthrough will guide you through how to set up and run the two playbooks to drive the automation:

  • 1st playbook to respond to a memory constrained alert
  • 2nd playbook for approving the ticket that was generated by the first playbook, which will call back into the second playbook and increase the VM memory

You’ll also generate a memory constrained alert to kick off the workflow, then test the approval flow to see the playbooks in action.

X-Play Actions Used:

  • REST API - REST API actions can be used to interact with any other services that expose APIs
  • String Parser - String Parser allows you to parse out values with JSON, XML, or Regex lookups
  • Branch - The Branch action can be used to build conditional logic in the playbook.
  • VM Add Memory - The VM Add Memory action will increase the memory of a VM running in AHV or ESXi (whether or not ESXi is running on Nutanix or not)
  • Resolve Alert - The Resolve Alert action will resolve a Nutanix alert

Try it out now by signing up at AIOps & Automation Test Drive!

To learn about the other walkthroughs in AIOps & Automation, check out this blog post: Automating your IT Operations on Nutanix Test Drive!

To learn more about Nutanix’s AIOps & Automation solutions, please check out the following links:


© 2021 Nutanix, Inc.  All rights reserved. Nutanix, the Nutanix logo and all Nutanix product, feature and service names mentioned herein are registered trademarks or trademarks of Nutanix, Inc. in the United States and other countries. Other brand names mentioned herein are for identification purposes only and may be the trademarks of their respective holder(s). This post may contain links to external websites that are not part of Nutanix.com. Nutanix does not control these sites and disclaims all responsibility for the content or accuracy of any external site. Our decision to link to an external site should not be considered an endorsement of any content on such a site. Certain information contained in this post may relate to or be based on studies, publications, surveys and other data obtained from third-party sources and our own internal estimates and research. While we believe these third-party studies, publications, surveys and other data are reliable as of the date of this post, they have not independently verified, and we make no representation as to the adequacy, fairness, accuracy, or completeness of any information obtained from third-party sources.

This post may contain express and implied forward-looking statements, which are not historical facts and are instead based on our current expectations, estimates and beliefs. The accuracy of such statements involves risks and uncertainties and depends upon future events, including those that may be beyond our control, and actual results may differ materially and adversely from those anticipated or implied by such statements. Any forward-looking statements included herein speak only as of the date hereof and, except as required by law, we assume no obligation to update or otherwise revise any of such forward-looking statements to reflect subsequent events or circumstances.


This topic has been closed for comments