As part of a change request portal, I need to change AD permissions during the schema to allow the workflow item "Get virtual machines by name" to view the entire vCenter inventory. I do not want the search restricted to whatever vCenter permissions the user has. The schema works fine without the "Change Credentials" workflow item. However, once I had it with valid credentials, I get...
[2013-05-28 15:39:31.567] [I] ReferenceError: "VcPlugin" is not defined. (Workflow:Get virtual machines by name / Scriptable task (item1)#12758)
2013-05-28 15:39:31.566-0700 ERROR [SDKModuleDescription] Scripting object '_VcPlugin' defines a singleton object but cannot create a plug-in factory for it , reason : Session not initialized 'SDKSession[2390e205-b73c-40ca-bdff-aaa23cbd5ba0]' for singleton init !
I was able to use "Change credentials" further into the schema without issue so I don't understand why I have the issue when using it earlier in the workflow. I am using vCO appliance v5.1.1 with vCenter 5.1 (non-U1).