Passing array to windows workflow RRS feed

  • Question

  • 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..

    Wednesday, March 14, 2012 11:51 AM


  • Pass too many arguments to console is not an ideal solution. You can write these emails into a txt or xml file, then pass the file path to console.

    YourConsole.exe /email emails.txt

    Regards, Nighting Liu

    • Marked as answer by LeoTang Wednesday, March 21, 2012 5:36 AM
    Wednesday, March 14, 2012 12:19 PM