I know there are a few Sharepoint devs on here (looking at usacomp2k3...) so I am hoping you gurus can help me.
I am working on a document approval workflow for WSS. We do not have MOSS due to the extremely high price tag. I am attempting to mimic some of the functionality of the MOSS approval workflow. I am using VS2008 SP1 + WSS 3.0 SP1 on Server 2003 R2 SP2. I haven't had any luck googling for an answer for my latest issue.
I have a custom aspx association form with a peoplepicker control to designate the approver(s) for the document library. In my workflow, I am trying to take the approvers designated in the association form and execute an approval sequence for each approver. To accomplish this, I have a while loop containing a sequence activity which contains all the approval steps. The sequence activity contains the CreateTaskWithContentType, OnCreateTask, OnTaskChanged, and CompleteTask activities. Everything works as expected with a single approver. When I have more than one approver, my workflow executes the OnTaskChanged code, and then, for some reason, jumps to executing the CreateTaskWithContentType code which basically starts my workflow all over for the first approver.
Any ideas? As far as I can tell, I'm not doing anything that would invoke that method. My workflow never actually leaves the OnTaskChanged activity, but it starts executing all the code again. I have started looking into using a replicator activity instead. I will post my code if it will help.
Thanks in advance!
"I take sibling rivalry to the whole next level, if it doesn't require minor sugery or atleast a trip to the ER, you don't love her." - pete_roth
"Yeah, I see why you'd want a good gas whacker then." - VRock