Not Able To Design Process
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2014 02:57 AM
This Activiti treasure is indeed a treasure. Thank you all who have developed it. I have an issue that I am not able to design or address.
<strong>Process Description:</strong>
A process starts with a user task called <strong>Recipient</strong>. This user task (Recipient) can take the following actions (user tasks) in any combination or no combination:
1. <strong>ResponseMeBack</strong> (user task): This user task, after doing its work, will respond back to the sender who sought response.
2. <strong>Assignment</strong> (user task): This user task is assigned to a user who in return can take 3 actions (user tasks) – <strong>ResponseMeBack</strong>, <strong>Assignment</strong> and <strong>ForYourInfo</strong> in any combination or no combination.
3. <strong>ForYourInfo</strong> (user task): This user task is just information informing the user. It does not do anything further.
I am not able to design the process with the available gateways. Would anyone assist?
<strong>Process Description:</strong>
A process starts with a user task called <strong>Recipient</strong>. This user task (Recipient) can take the following actions (user tasks) in any combination or no combination:
1. <strong>ResponseMeBack</strong> (user task): This user task, after doing its work, will respond back to the sender who sought response.
2. <strong>Assignment</strong> (user task): This user task is assigned to a user who in return can take 3 actions (user tasks) – <strong>ResponseMeBack</strong>, <strong>Assignment</strong> and <strong>ForYourInfo</strong> in any combination or no combination.
3. <strong>ForYourInfo</strong> (user task): This user task is just information informing the user. It does not do anything further.
I am not able to design the process with the available gateways. Would anyone assist?
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2014 05:42 AM
Just have a form with 3 possible outcomes. Use an exclusive gateway that uses the otucome variable to route to the correct task (or route back to the original task)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2014 06:16 AM
Thank you jbarrez. How sweet of you. I did what you said but that is not the case. The "Recipient" task can assign either/all of the three tasks (<strong>ResponseMeBack</strong>, <strong>Assignment</strong> and <strong>ForYourInfo</strong>) to different users. That is why I used <strong>inclusive gateway</strong> from "Recipient" to these 3 tasks. But where I am stuck let me explain:
Suppose first time a user, initiator, is at "Recipient" task. He/she assigns all of three tasks (ResponseMeBack, Assignment and ForYourInfo) to different users.
ResponseMeBack to user A,
Assignment to user B and
ForYourInfo to user C.
Suppose user B, at Assignment task, executes all the three tasks again to 3 different users. User A's response will come back to the initiator who again can execute the three tasks.
That is where I am not able to come up with the proper use of gateways. I hope I am able to make you understand.
Suppose first time a user, initiator, is at "Recipient" task. He/she assigns all of three tasks (ResponseMeBack, Assignment and ForYourInfo) to different users.
ResponseMeBack to user A,
Assignment to user B and
ForYourInfo to user C.
Suppose user B, at Assignment task, executes all the three tasks again to 3 different users. User A's response will come back to the initiator who again can execute the three tasks.
That is where I am not able to come up with the proper use of gateways. I hope I am able to make you understand.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2014 07:23 AM
Why wouldn't a big joining inclusive gateway do the trick? If you put it all the way at the end, it will wait for all tasks to be finished.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2014 10:01 AM
Thanks jbarrez again.
As I said above I have 4 user tasks:
1. Recipient.
2. ResponseMeBack
3. Assignment
4. ForYourInfo
Explanation:
1. Recipient can assign one/two/three of these tasks (ResponseMeBack, Assignment and ForYourInfo) to different users.
2. Assignment Task in turn can assign one/two/three of these tasks (ResponseMeBack, Assignment and ForYourInfo) to different users.
I have tried many combinations but nothing seems to work.
Would throw some light what you described in your last comment? That will be grateful of you.
Thanks
As I said above I have 4 user tasks:
1. Recipient.
2. ResponseMeBack
3. Assignment
4. ForYourInfo
Explanation:
1. Recipient can assign one/two/three of these tasks (ResponseMeBack, Assignment and ForYourInfo) to different users.
2. Assignment Task in turn can assign one/two/three of these tasks (ResponseMeBack, Assignment and ForYourInfo) to different users.
I have tried many combinations but nothing seems to work.
Would throw some light what you described in your last comment? That will be grateful of you.
Thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2014 03:35 AM
Well, you would need to have a fork gateway before 2,3, 4. And a sequenceflow + gateway going out from 'assignment'.
All the outgoing sequence flow would need to go to a big inclusive gateway at the end. Effectively waiting for all tasks to be finished.
All the outgoing sequence flow would need to go to a big inclusive gateway at the end. Effectively waiting for all tasks to be finished.
