Passing parameters to windows workflow
-
Wednesday, March 14, 2012 11:45 AM
Hello Guys ,
How to pass array to workflow activity from the console application ? i want to pass array of emails to workflow and it should loop through each email and send mail. i have custom activity ready with take one email id and send mail...now how do i pass array to workflow activity while invoking workflow ? Please suggest me something
Thanks in advance..
All Replies
-
Friday, March 16, 2012 6:00 AMModerator
Hi,
For WF3, you can refer to "Passing Parameters from the Host Application" section in the following article
Task 1: Create a Workflow and Pass Parameters
http://msdn.microsoft.com/en-us/library/ms735784(VS.85).aspx
A array can be the object for values in your defined dictionary collection.
Leo Tang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked As Answer by LeoTangModerator Wednesday, March 21, 2012 5:36 AM

