ParallelGateway problem in Activiti workflow

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2012 09:34 AM
Hi All,
I am new to Activiti. I am having one task and that is going to two users at a time. One is a single user and other is a group (Pooled actors).
if the single user and anyone of the group approves the task then only the task will be completed and go to the next task.
Please help me!
Thanking you!
I am new to Activiti. I am having one task and that is going to two users at a time. One is a single user and other is a group (Pooled actors).
if the single user and anyone of the group approves the task then only the task will be completed and go to the next task.
Please help me!
Thanking you!
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2012 06:30 PM
The behavior that you describe is exactly the way that Activiti would process a Parallel Gateway. If a task is assigned to a group, the default behavior is that the first user that picks up the task will cause the task to be removed from the task queue of all of the other users in the group. If you want the task to be approved by all of the users in a group, you need to change the way that the default assignment is handled. In Activiti, a task of this type (in which all members of the group must process the task) is called a "multi-instance" task. It is also possible to set up the workflow so that there is a gate that checks to see if the majority or of the group has approved or disapproved a task - you can control the percentage of the approval "votes" that are used to pass to the next state. Here is some information about multi-instance tasks:
http://www.activiti.org/userguide/index.html#bpmnMultiInstance
If that is not what you want to do, please write a more complete description of what you want your workflow to do so that I can help you - thanks!
Kevin Dorr
Alfresco
http://www.activiti.org/userguide/index.html#bpmnMultiInstance
If that is not what you want to do, please write a more complete description of what you want your workflow to do so that I can help you - thanks!
Kevin Dorr
Alfresco

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2012 01:38 AM
Thanks Kevin,
Your reply helped me a lot. Kevin, I wanted to know how can I get a site name during workflow in my custom java class. My class is extending the TaskListener. However I have put a separate post for this question (https://forums.alfresco.com/en/viewtopic.php?f=34&t=43572).
Thanking you Kevin!
Your reply helped me a lot. Kevin, I wanted to know how can I get a site name during workflow in my custom java class. My class is extending the TaskListener. However I have put a separate post for this question (https://forums.alfresco.com/en/viewtopic.php?f=34&t=43572).
http://www.activiti.org/userguide/index.html#bpmnMultiInstance
Kevin Dorr
Alfresco
Thanking you Kevin!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2012 05:15 PM
I posted a reply to your other question on the other thread.
