I have a custom workflow activity that creates "tasks" for users to do. Tasks are shown to a specified user when they log in to the web site. When this step runs, it takes in a userId, creates a task in the database for that user, and
then sets a bookmark.
When the user goes to the web site, they see their tasks. When they push a button to complete a task, the bookmark is resumed and the step ends.
So far so good. The problem is that the design now calls for the workflow to be able to kick off multiple tasks for multiple users, and that all the tasks be started at once (that is, its not good enough for user #1 to receive a task, complete it,
user #2 receive a task, complete it, etc. All the users should receive their task to start with, and then they can finish them in any order.)
I can't do this serial with a for loop, since then there'd only be one task "outstanding" at a time, and they'd have to be completed in order.
I can't simply modify the custom activity to take in the multiple pieces of data, because there's a lot of other items that happen in the workflow that need to be done before and after the custom activity for each task.
What I'd really like is something like the Parallel activity, where I create the branch and place all the tasks, but then I can assign the number of times
View Complete Post