Accessing Arguments, Workflow Variables from custom activities

Posted by yang on Stack Overflow See other posts from Stack Overflow or by yang
Published on 2010-05-18T12:54:55Z Indexed on 2010/05/26 9:21 UTC
Read the original article Hit count: 407

Filed under:

I have a workflow composed of many custom activities. All these activities need to access startup arguments of the workflow itself. I can define InArgument inside all these custom activities and bind the workflow arguments to custom activity arguments but I am not comfortable with this solution. What is the best way to access workflow level argument and variable declarations from custom activities. Can I get them from ActivityContext?

Thanks.

© Stack Overflow or respective owner

Related posts about workflow-foundation-4