How to pass parameters from workflow to activity properties?
I'm using that activity in a workflow with parameter wfp1.
How can I put the value of wfp1 into p2 using the visual designer?
Regards.
Regards.
Hi, You need to bind the activity property with the workflow parameter so that you can pass the value. For sample code please refer to http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=96331
Hope this helps.
Vihang
would this work ?
activitybind2.ID = "/Parent"; activitybind2.Path = "Parameters[myItemId]"; this.createItem1.SetBinding(Spikes.WWF.Ressearch.ActivityLib.CreateItem.ItemIdProperty, ((System.Workflow.ComponentModel.Bind)(activitybind2))); |