How do I create and request completion of a subset of multiple Workflow Foundation tasks?

I have a process that requires approval from two people in a group of four or five. I would like to create a task assigned to each person, and after completing two of these tasks, delete the remaining tasks and go to the workflow.

Is there a way to create multiple tasks with a single action CreateTask

? Also, I'm still pretty new to WorkFlow, so if I store TaskIDs

in an array, can I iterate over them to remove the remaining tasks after the fact?

Or am I completely wrong about it? I am open to suggestions.

+1


source to share


1 answer


I'm not sure if they apply to Sharepoint, but check out these posts from Matt Winkler:



I think the second post describes exactly your case.

0


source







All Articles