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

Getting the task object from a blocking task for vdcRecomposeVapp (create a new VM)

$
0
0

Hi,

 

I have a workflow that gets a blocking task message from AMQP and attempts to get the actual task details.  The code looks like:-

 

task = document..EntityLink.(@type == "vcloud:task").@id;
System.log("task: "+task);
var taskObject = vcdHost.getEntityById(VclFinderType.TASK,task);

 

This works fine when deleting a VM from a vApp and when copying a VM to a vApp.  However, when i create a new VM in a vApp, it fails to get the task object.  I have checked that the task reference retrived from the message is the same as the task reference shown in vDC blocking tasks.

 

Am i doing somethng wrong, or for a create do i have to do something different?

 

Thanks

 

Ian...


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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