Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Workflow to Upgrade Hardware and Tools with vShield.

$
0
0

Hi,

 

I am starting with vCO and JavaScript!

 

I start from the workflow that Cody Bunch created at this url and did some changes to add vShield Drivers to the tools update and to upgrade VMware Hardware(compatibility).

 

WithoutDecision.JPG

When i hit a VM with the Hardware at the latest version, the workflow crash. So i wanted to add a decision point before the Upgrade VM Hardware Workflow.

 

WithDecision.JPG

If the VM has the latest Hardware Version i want to skip the Upgrade VM Hardware version. I want to write a simple script that look like that :

if (VMHardware version is current){

  return false;

}

else{

  return true;

}

 

I am looking in the API search in vCO to find the property for the Hardware Version and i cannot find it! Can someone help me with that? Where i can find this?

 

I know i can do it with Update Manager, but i want to use vCO to practice and integrate that kind of workflow in vCAC!

 

Thanks all for your help!


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>