Can you add an extra assignee to a parallel subflow that is in progress

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2015 08:51 AM
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.
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.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2015 04:04 PM
Hi,
Without doing some low level database inserts and updates this is currently not possible. For Activiti 6 this kind of use case is what we want to support with more dynamic process capabilities.
Best regards,
Without doing some low level database inserts and updates this is currently not possible. For Activiti 6 this kind of use case is what we want to support with more dynamic process capabilities.
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2015 07:07 AM
Thank you Tijs for prompt reply.
Could you give an indication of when Activiti v6 is likely to be released? Also given your reply would the above action be feasible with Activiti in its 6.0 release?
Finally what would be the best way to accomplish the task I described using Activiti v5 ?
Thanks.
Could you give an indication of when Activiti v6 is likely to be released? Also given your reply would the above action be feasible with Activiti in its 6.0 release?
Finally what would be the best way to accomplish the task I described using Activiti v5 ?
Thanks.
