Parallel Gateway and Loop Cardinality in Multi Instance
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2011 08:57 AM
Scenario : I am working on a scenario where there are set of tasks,say 3 tasks in series, in a workflow and each task has to be completed by 3 different users. These 3 different users belong to 3 different groups
Clarification Required: Just wanted to know if my understanding is correct as stated below:
a) Multi Instance (Loop Cardinality) can be used for parallel and sequential(series) tasks but for a set of users which are in same group only. For eg.
———————————————————————-
<userTask id="enterCommentsTask" name="Enter Comments by Author" >
<documentation>
Enter Comments which requires verification
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>author</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
<multiInstanceLoopCharacteristics isSequential="false">
<loopCardinality>4</loopCardinality>
</multiInstanceLoopCharacteristics>
</userTask>
——————————————————————-
b)Parallel Gateway is used when tasks is to be executed by set of users which belong to different groups
Is my understanding a) and b) are correct?
Regards,
Sandeep Sapra
Clarification Required: Just wanted to know if my understanding is correct as stated below:
a) Multi Instance (Loop Cardinality) can be used for parallel and sequential(series) tasks but for a set of users which are in same group only. For eg.
———————————————————————-
<userTask id="enterCommentsTask" name="Enter Comments by Author" >
<documentation>
Enter Comments which requires verification
</documentation>
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>author</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
<multiInstanceLoopCharacteristics isSequential="false">
<loopCardinality>4</loopCardinality>
</multiInstanceLoopCharacteristics>
</userTask>
——————————————————————-
b)Parallel Gateway is used when tasks is to be executed by set of users which belong to different groups
Is my understanding a) and b) are correct?
Regards,
Sandeep Sapra
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2011 03:55 AM
a) yes … but why not simple three different task in sequence after each other?
b) no, parallel gateway is only for control flow: it splits the execution of the process in multiple concurrent paths.
b) no, parallel gateway is only for control flow: it splits the execution of the process in multiple concurrent paths.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2011 05:35 AM
Thanks for the reply
a) I think for a) you want to mention flow is not really required to be in parallel and series/in a sequence will do. Am I right?
But there can be a case where all the users should receive the task at same time, then a parallel condition is required as per my understanding. Correct me if I am wrong?
b) For b), ok, If parallel gateway is for control flow then for scenario tasks to be executed by set of users which belong to different groups , what should be exactly used?
Regards,
Sandeep
a) I think for a) you want to mention flow is not really required to be in parallel and series/in a sequence will do. Am I right?
But there can be a case where all the users should receive the task at same time, then a parallel condition is required as per my understanding. Correct me if I am wrong?
b) For b), ok, If parallel gateway is for control flow then for scenario tasks to be executed by set of users which belong to different groups , what should be exactly used?
Regards,
Sandeep
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2011 09:16 AM
- same, one task by different groups: multiinstance on a task
- same sequence of multiple taskst for different groups: multiinstance subprocess with in tasks in sequence in that subprocess
hth
- same sequence of multiple taskst for different groups: multiinstance subprocess with in tasks in sequence in that subprocess
hth
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2011 08:13 AM
Thanks for the reply!!!!
For this same sequence of multiple taskst for different groups: multiinstance subprocess with in tasks in sequence in that subprocess
Can you elaborate this with an example , if possible? or with an bpmn file code in my case..
What I dont understand is that by creating a sub process in multiinstance also we will be able to have one group only and then how to define multiple groups?
Regards
Sandeep
For this same sequence of multiple taskst for different groups: multiinstance subprocess with in tasks in sequence in that subprocess
Can you elaborate this with an example , if possible? or with an bpmn file code in my case..
What I dont understand is that by creating a sub process in multiinstance also we will be able to have one group only and then how to define multiple groups?
Regards
Sandeep
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2011 12:16 PM
sorry, I have no time to create a working example, but the group to assign can be a variable that you have in the multiinstance loop of the subprocess. There should be no difference with this compared to a single task that needs to be assigned to different groups. The 'only' difference is where the loop variable is declared.