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.
Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings