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

Blocking Task Changes in 5.5? (Server.findAllForType() issues)

$
0
0

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?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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