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

Workflow fails when called by vRA

$
0
0

Good afternoon,

 

I´m trying a specific workflow that starts with the following Orchestrator Action: getAllVMs (com.vmware.library.vc.vm). The result is saved within an Array/VC:VirtualMachine.

When I start the workflow manually, using the vR Orchestrator client, this action returns all vCenter virtual machines and saves them, correctly, within the array.

 

Then, I made vRA (vRealize Automation) call this particular workflow when a blueprint gets to the Provisioned Stage.

The workflow is correctly called but, for some reason, the getAllVMs action does not return any values, resulting in an empty Array (which sadly breaks the rest of the workflow).

 

I tried several times running it manually: it works.

I tried several times running it through vRA: it does not work.

 

I´m attaching some screenshots with information about the array and its corresponding values when the workflow is ran both manually and through vRA.

 

Could someone please help me out to discover why is this happening?

 

Thank you very much.

 

Update: I modified the workflow by adding a pause right after the action execution. The array value was, as expected, empty :-(

With the workflow frozen, I re-ran it, manually, pointing to the virtual machine recently created by vRA. And it works.

More and more I´m convinced that there´s some sort of issue with the way vRA calls the workflow, but I can´t figure it out yet what it is.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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