Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Bug in vCO helper "Prepare Workflow Run"?

$
0
0

A few days ago I attached a new vCO workflow to the provisioned stub as part of testing Host Affinity groups. This broke the provisioning process, causing new VMs to be deleted.

 

On inspection I discovered that the vCO parameter 'vCACvm' was not being set, causing the entire chain of workflows to break.

 

This parameter is requested by 'WFStubMachineProvisioned', as output parameter from 'Prepare Workflow Run'. I can see that the parameter is not being returned.

 

Digging further, I noticed that 'Prepare Workflow Run' contains the step 'Get vCAC VM' which actually tries to use the parameter 'vCACVM' as _both_ input AND output. This is something I've discovered is impossible - you cannot set the same parameter both as IN and OUT for a workflow Item.

 

If memory serves, any parameter used as IN will be unreturnable, and this would explain why the workflow is not setting vCACVM properly. But I can't edit the workflow to test.

 

Anyone else here seen this problem?


Viewing all articles
Browse latest Browse all 9859

Trending Articles