I've noticed that some operations return a <Task>. I'd like to monitor the <Progress> before I execute another API call. When doing an operation such as updating and Edge Gateway, I can see in vCloud Director that its "still working" however when running the href provided by <Task> the <Progress> is always 0. Has anyone worked with tasks that can give me some pointers?
Thanks
I see that I can lock in on status="success" to verify completion. Maybe my calls simply are not taking long enough to have the progress update.
That is possible - not all tasks update progress (I am not sure why). Also make sure you are using 5.1 connection - I have seen 1.5 SDK connections not get the progress.
Another thing to be aware of, if a task is completed sometimes on query it will no longer exist; I have been looking for details on this, but have not been able to find anything.
Thanks for the reply. It is a nice feature and would be a shame if the progress is not fully implemented. For now I'll go by the status attribute.