Wednesday, March 23, 2011

MS Workflow problem with custom activities member variable state

Hi All,

I have a simple custom activity with a private member variable (integer).

When i put it inside a sequence activity which is inside a while activity and start iterating i have a problem:

My member variable is zeroed in each iteration even though i increment it by one every time the activity is executed.

What am i doing wrong?

Thanks,

Adi Barda

From stackoverflow

0 comments:

Post a Comment