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...