QueueBuild activity processparameter

Mar 11, 2013 at 7:07 PM
I am trying to use QueueBuild activity to queue a new build pass something like ParentBuildDropLocation to the child build being queued. I have modified the build process template so that it takes a string value for process parameter at the build definition.

I am putting something like following in the build definition.

Microsoft.TeamFoundation.Build.Workflow.WorkflowHelpers.SerializeProcessParameters(New Dictionary(Of String, Object) From {{"ParentBuildDetail", BuildDetail},{"ParentBuildDropLocation", BuildDetail.DropLocation},{"ParentBuildUri", BuildDetail.Uri}})

But my activity gets it as a literal string. How do I make my workflow evaluate the expression before passing it to the QueueBuild activity.