Ok so I've moddify a bit this flow:
STEP1:
Get Virtual machine
input : vmNAME
Out Attrib : vms
(picture 001 attached)
STEP2
Scriptable Task
In Attrib : vms
Out Attrib : cpuCount
Out Attrib : memoryMB
Script:
System.log("VM: " + vms);
Server.log("VM: " + vms);
cpuCount = vms.summary.config.numCpu;
memoryMB = vms.summary.config.memorySizeMB;
(picture 002 and 002a attached)
When the flow run, I'm inserting vm name: for example "I_VM" (it exist in vCenter)
STEP1 it's finding this vm and passing to STEP2
Results failed...