Windows Workflows - While Activity for creating multiple tasks not working
Posted
by Georgil Mathew
on Stack Overflow
See other posts from Stack Overflow
or by Georgil Mathew
Published on 2010-05-20T11:46:32Z
Indexed on
2010/05/20
11:50 UTC
Read the original article
Hit count: 253
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.
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?
NB: I am using state machine workflow.
© Stack Overflow or respective owner