How can i call a methode from a workflow with parameters?
I would like to call a method from within a workflow. I have defined a Methode in the Interface and I would like to pass a parameter, say some value defined in my xoml.cs file. To test this, I am using the base.WorkflowInstanceId Property.
1) do I have to define the Parameter Binding in the xoml file or in the xoml.cs? How is the Syntax of Binding Properties to the CallExternalMethodActivity?
The definition of my call is now:
<CallExternalMethodActivity x:Name="requestName" InterfaceType="{x:Type p4:IGetNameService,TypeName=Workflow.RuntimeServices.IGetNameService}" MethodName="RequestName" xmlns:p4="clr-namespace:Workflow.RuntimeServices;Assembly=Workflow.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c4620ae819b5257e"/>
Thanks in advance
Josef

