BKStart a conversation ↗

Workflow Arguments how to

So you've started up your very first 4.0 Workflow application.
You've added some arguments and want to know how to pass some information...
You can either use the Dictionary approach that exists since 3.0 or you can use the properties you've just created.

These screenshots show a simple workflow with an input string UserName and an output string Greeting.

I added an assignment activity and set the "To" to be the output Argument "Greeting".

And set the Value as follows.

To prove this works I've added a test fixture and implemented it as follows.

So there you go. The quickie for today.