Hello,
I have a workflow that uses an "Invoke Business Process" activity, and initially we had decided that we were going to set the Initiator to be the Workflow System Account. Then we set some parameters in the "Starting Variable Values" screen to pass a keyword that contains a Team name.
Back in forms, the process kicks off and we assign the process to the team using the "A team based on a variable" setting in the User Task.
Now we realize that when a person picks the task, and submits the form, in order for the next form to work, it would have to be set to a team as well or to a person, as you would normally assign.
User Case:
For simplicity purposes let's say that we have a business process with 10 User Tasks.
The process can be kicked off manually by submitting a form.
Each of the User Tasks is assigned to the initiator.
Now we incorporate a workflow to also be able to kick off the process.
We decide that the first User Task will be assigned to a Team instead, the team varies.
When a person submits the form, it is assigned to a Team. Then the next User Task is assigned to the initiator.
Issue:
When the workflow kicks off the business process, the initiator is the workflow system account, but that does not matter, because a team is assigned to the first User Task automatically.
When an user picks up the task, this person can now submits the form.
The second User Task wants to assign it to the initiator, which is the workflow system account.
Question:
How can we switch the initiator to be the person submitting the first form instead of the workflow system account?
Thank you,
Raul Gonzalez