I have a short script that I run to quickly kill all tasks that I have running in vCD for testing purposes.
it is as follows:
var blockingTasks = Server.findAllForType("vCloud:BlockingTask");
for each (var bt in blockingTasks)
{
bt.abort("");
}
I am currently trying to migrate into a 5.5 environment from a 5.1 environment. When I run this exact same script in the new environment, it throws an error:
[2014-05-08 18:18:10.803] [I] Server error : ch.dunes.model.sdk.SDKFinderException: Unable to execute 'fetchAll' for type : BlockingTask
I don't see any deprecation in the documentation, so I assume I am doing something wrong.... can anyone help me?