Difference between Variables and Arguments in Windows Workflow Foundation -


i pretty new windows workflow foundation question may seem little simple.

what's major difference between argument , variables in workflow? , 1 should used in situation.

for e.g. if need store object can used activities in workflow, , activites should able modify object. 1 should use - variable or argument?

arguments input , output activities (a whole workflow counts activity in wwf)

so data put workflow comes in via argument named in workflow inargument. (everytime write inargumentt use inoutargument)

any data put activity comes in via argument named in activity inaargument.

output same except argument must marked out (or in/out)

the values in arguments available inside workflow or activity set argument in inargument

variables exist inside container named. variables in workflow created in workflow , not passed in.

you can assign workflow level variable inargument of activity assigning variable inargument in properties panel activity.

variables have scope if have nested workflow activities can limit variable nested workflow , not whole workflow.

arguments exist in container input to. if want pass argument workflow activity must add argument parameter inargument in properties panel activity.

you can output activity argument or variable adding argument or variable parameter outargument in properties panel activity.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -