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

Cannot convert 2566 to long[] - When Executing Custom Guest Script

$
0
0

Hi @all

 

I'm using orchestrator for a few weeks now. All works well up to now.

 

I want to receive some informations about a process with a pid (in my example 2566).

 

As written in the documentation this should work. But I think the orchestrator doesn't recognize the long type.

Are there any ideas how to resolve this?

 

I'm using Orchestrator on Windows Server (5.5 U1a).

 

Script:

 

var host = vm.sdkConnection;

 

var guestOperationsManager = host.guestOperationsManager;

var guestAuth = new VcNamePasswordAuthentication();

guestAuth.username = vmUsername;

guestAuth.password = vmPassword;

 

var processManager = guestOperationsManager.processManager;

var guestProcessInfo = processManager.listProcessesInGuest(vm , guestAuth , pid);

 

 

____

 

Error:

Cannot convert 2566 to long[] (Workflow:Get process from guest / Scriptable task (item1)#8)

 

 

Thanks


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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