I am trying to create a workflow on SharePoint 2007 that should go like so:
User adds a new item in the "Faults" list. When creating it, he ticks the boxes for whatever departments needs to address the fault.
The appointed representative of each selected department is assigned a task to check the new item.
The represenative marks the task as complete.
All tasks are completed and the workflow is finished.
The problem: if I create a workflow in SharePoint Designer 2007 and create multiple steps checking to see "if X department was ticked then assign task to user", it will wait until the first department marks their task as complete before it assigns a task to the next department. I need all departments to be assigned the task at the same time.
Other options I have considered:
If department X was ticked then add the representatives' username to a variable named "userX". Repeat with department Y and variable "userY", and then Z with variable "userZ". Finally, assign a task to userX, userY and userZ. I had hoped it would ignore the blank variables, but instead it assigns a task to nobody and the workflow never finishes.
Having the user assign the item to users instead of departments is not possible since they can't be expected to know the appointed representatives of every department.
I can create a task through the "Create List Item" action, but the workflow is marked finished after creating the tasks, even through the tasks are not complete.
Does anyone have any ideas?
If anyone is interested, here is the solution I eventually used:
First step of the workflow:
One step each for other departments:
And finally,
Hope this helps somebody.