I'm not sure how to design a workflow that accomplishes the following:
Let's say I have one main task that has two subtasks. I also have two users. In my workflow I have an activity 'AssignTasks' with a default client event (ASPX page) where an administrator assigns one subtask to each user. I then have a 'Perform Tasks' activity with a default client event (ASPX page) that creates a slot for each destination. Below that activity I have another activity called 'Review Task' with a client event (ASPX page) where the manager can review the subtask that ONE user has completed.
Now to the issue:
I want the workflow to move down to the 'Review Tasks' activity when ONE of the users has completed their subtask, but the 'Perform Tasks' still have to be available so the second user can complete his subtask. (I also want the manager to be able to send the subtask back for re-work to the 'Perform Tasks' activity but that is a separate issue at the moment!)
The only way I have found to get the flow to go down to the 'Review Task' operation is by calling finish on the WorklistItem object when a user has completed his subtask. The problem is then that the activity is tagged as complete and user 2 gets an error when submitting his subtask. I need to keep the 'Perform Tasks' activity open until all users have finished their subtasks!
Any help would be greatly appreciated
Christian
Moving to a new activity without completing the current one
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.