Parameter Direction

Either the value is passed in to the activity, or it is generated as output. If the same name is used for input/output, the output value overwrites the input value.

This technique is fairly common, because it designates one variable to hold the “current value” so regardless of which path was taken through the workflow, you are always assured that value holds the current value.