Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: User Task inside Multiple Instances node to do concurrent User Task
assignments"
To view the discussion, visit:
https://community.jboss.org/message/785069#785069
--------------------------------------------------------------
Firs of all not really sure what you trying to achieve with these two dimensions?
If I understood your case right, you try to have a dynamic approval workflow that depends
on two factors:
1. list of approvers defined at the process start or during process live time but before
it enters the approval flow
2. some sort of completion condition that will allow to finish looping through approvers
if one of the important ones has already approved it
if above is correct, you should use only the explicit loop construct which is based on
exclusive gateways (since the standard loop characteristic is not yet implemented). That
way you control how many tasks needs to be created and when you can proceed with the
further activities. So in general it would look like following:
- enter the first task - initial work needs to be done
- once initial work is completed creates new task for the approver from the list
- once first approver is completed then you evaluate if another needs to take place or
not
- if another approval is required you loop back to create another approval tasks
- if not continue with the flow
the only aspect that is not (directly) covered here is that if you would like to create
tasks for several approvers at the same time but you can achieve this by assigning
approval tasks to a group instead of individuals (actor). It gives possibility to access
it by several approvers but of course only one can claim and work on it.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/785069#785069]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]