Hello,
I have a question regarding sub flows. Unfortunately I cannot divulge any information, diagram or provide a test case due to client confidentiality. However I can describe the problem with an example.
I have a parent workflow that calls a sub flow. The sub flow is set for parallel execution. The sub workflow is initiated using a list of usernames and each parallel execution is passed a variable assignee (i.e. a username). There is a user task in the sub flow that waits for user response.
The problem I have is that I need to add another assignee to the sub flow while it has not completed, i.e. I want to invoke the sub flow again with an assignee that is not in the list Activiti had when it called the sub flow originally.
Please can someone tell me if this is possible? I can create a new Task with TaskService and persist it with save, but I don't see any way of linking it in to the existing sub flow.
Thank you.