Hi,
i have a small problem with debugging variables that are passed to a workflow. I have a small function which will dump all variables which are passed to a workflow, on the 4.1 version i get as output:
[2013-02-22 12:58:58.087] [I] Start :: DebugTest :: ID :: BB8080808080808080808080808080802D82808001319023659169c92d91d11b0 :: Caller :: DebugTest
[2013-02-22 12:58:58.090] [D] Key :: inDebug :: objectType :: boolean :: value :: true
[2013-02-22 12:58:58.090] [D] Key :: inString :: objectType :: string :: value :: test string
[2013-02-22 12:58:58.094] [D] Key :: inCluster :: objectType :: VC:ClusterComputeResource :: value :: ClusterA
[2013-02-22 12:58:58.095] [D] Key :: inArray :: objectType (No match) :: Array :: value :: 1,2
[2013-02-22 12:58:58.132] [D] Key :: inVMMachine :: objectType :: VC:VirtualMachine :: value :: VMTEST
[2013-02-22 12:58:58.136] [D] Key :: inNumber :: objectType (No match) :: number :: value :: 4711
In 5.1 i get:
[2013-02-22 11:40:34.676] [I] Start :: DebugTest :: ID :: BB8080808080808080808080808080802D82808001319023659169c92d91d11b0 :: Caller :: DebugTest
[2013-02-22 11:40:34.692] [D] Key :: inNumber :: objectType (No match) :: number :: value :: 4711
[2013-02-22 11:40:34.692] [D] Key :: inVMMachine :: objectType :: VC:VirtualMachine :: value :: undefined
[2013-02-22 11:40:34.692] [D] Key :: inCluster :: objectType :: VC:ClusterComputeResource :: value :: undefined
[2013-02-22 11:40:34.707] [D] Key :: inArray :: objectType (No match) :: Array :: value :: 1,2
[2013-02-22 11:40:34.707] [D] Key :: inString :: objectType :: string :: value :: test string
[2013-02-22 11:40:34.707] [D] Key :: inDebug :: objectType :: boolean :: value :: true
I have attached the sample workflow,
Regards
Thomas
Your code looks good... but I get the same problem as you... I wrote an article a while back on vCOTeam.info (http://www.vcoteam.info/learn-vco/how-to-retrieve-workflow-execution-details.html) for retreiving workflow execution details, similar to what you are doing here. When I run that workflow against my test runs of yours, the VirtualMachine objects and the Cluster objects display properly.. BUT, when I use my code inside your workflow to process the currently running workflow's inputs - same results. I would recommend opening a case with support if this is something important for your work. The values SHOULD be getting displayed.
Hi,
ok will raise a support request ...
Thanks
Thomas