title: Windows Workflows - While Activity for creating multiple tasks not working
body: <p>I am using a while activity for creating multiple tasks for a workflow. The code is executed fine and the task is created when the loop runs only once. But when the loop runs twice or more, only one task is getting created. Also the WF status shows as Error Occured.</p>
  
  <p>All I want to do here is create multiple tasks (no of tasks depends on an entered column value) for the same user. Is it posible to use 'while' in this scenario? Or is there any other way to go ahead?</p>
  
  <p>NB: I am using state machine workflow. </p>