Home > Forum > User Voice > Create multiple tasks in a plugin

Create multiple tasks in a plugin
1

Hi,

Why is only one task created, and everything executes in it, when I execute the following code in a loop:

args.TransitionInfo.TasksToAdd.Add(new WebCon.WorkFlow.SDK.Common.Model.NewTaskData(new WebCon.WorkFlow.SDK.Common.Model.UserInfo("webcon", "webcon")));

Best regards.

Nobody has replied in this thread yet.