How can we assign the default value to an Out Argument in a workflow?


#1

Why is assigning default value to an Out argument not allowed in a workflow? I see it is allowed for an In argument, but only blocked for an Out. Will I have to assign the Out Argument in an Assign activity inside a workflow? Any other alternatives?


#2

That’s a Workflow Foundation (MSFT) limitation.
However, just use assign arg = value at the start of your workflow.