none
Regarding workflow token RRS feed

  • Question

  • if I have a workflow structure like this:

     

    onworkflowactivated and its correlation token is "workflowToken".

    followed by a custom sequence activity

    inside the sequence activity, i have a SendMail activity

     

    Now, the question is how can i set the correlation token of the SendMail activity to "workflowToken"?

    Monday, May 14, 2007 7:39 AM

All replies

  • hi BB,

    just open ur project in vs2005,  when you right click on ur workflow class file (generally workflow1.cs) option like view designer, there u r able to see the list of activities u added.
    select sendmail activity and right click--> properties , then properties window open, there in correlationToken select from the list "workflowToken",

    ur problem solved

    thanks
    praveen
    Monday, May 14, 2007 12:08 PM
  • Thanks for your reply, i think my question was not clear, my bad.

     

    The problem now is i have a custom sequence activity that is created in different project (Project A, let say), and inside this custom sequence activity, i drag one SendMail activity into it.

     

    Then in another project (call it Project B), i have one OnWorkflowActivated activity, i drag the custom sequence activity from Project A after the OnWorkflowActivated, When i do this, all activities inside the custom sequence activity have their properties locked when i am inside the Project B. So i can only change the properties of SendMail activity in Project A, but in Project A, i cannot set the workflow token to be the same as the token of the Onworkflowactivated activity in Project B

    Tuesday, May 15, 2007 1:14 AM
  • Hi BB,

     

    I'm having pretty much the exact same problem - here's my post. I'll cross-post if someone comes up with an answer.

     

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2277181&SiteID=1&mode=1

     

    Max

    Tuesday, October 16, 2007 3:30 PM