How do I pass argument from an activity to another in Workflow 4
Posted
by Jimmy Engtröm
on Stack Overflow
See other posts from Stack Overflow
or by Jimmy Engtröm
Published on 2010-05-01T22:39:05Z
Indexed on
2010/05/01
22:47 UTC
Read the original article
Hit count: 424
workflow-foundation-4
Hi
I have created an Activity (CodeActivity) that retrieves the temperature where I live.
I wan't to add that activity to a workflow and connect it to an if statement/activity that can based on my temperature outargument do different things.
But I can't seem to find how to access the outargument from my temperature-activity.
This is my first Windows Workflow 4 project so perhaps I'm attacking this in the wrong way.
I have:
public OutArgument Degrees { get; set; }
But how do I access it? I have found tutorials how to get the data when running the activity (only one) but not as part of a workflow.
Hope my question makes sence.
/Jimmy
© Stack Overflow or respective owner