I am running vRO 6.0.1. I have built a dynamic type for Veeam. I can see the objects in the inventory and can select them as attributes in workflows. I'm attempting to get the Dynamic Type Object through a script and set it as an output variable of the script but its not working. I have created the dynamic type using the Dynamic Types Plug-In Generator v2.
I have the namespace "Veeam" with the types:
VeeamHost
jobFolder
job
I set an output attribute with the type "DynamicTypes:Veeam.job" and name jobOut
My script is just:
jobOut = Server.findForType("DynamicTypes:Veeam.job","29714267-f517-4f76-a621-902b3e789772/urn:veeam:Job:26eddcda-ea52-469b-b4c9-0b80fec098ae");
System.log("Found Job: " + jobOut);
After execution the jobOut variable is blank. In the logs i see:
Found Job: DynamicWrapper (Instance) : [DynamicTypesDynamicObject]-[class com.vmware.o11n.plugin.dynamictypes.model.DynamicObject] -- VALUE : dynobj:[ __ns:Veeam __tp:DynamicTypes:Veeam.job __id:29714267-f517-4f76-a621-902b3e789772/urn:veeam:Job:26eddcda-ea52-469b-b4c9-0b80fec098ae]
Does anyone have an idea of how to populate the DynamicTypes:Veeam.job output with the actual veeam job i got via the script?