can we queue instances for a given process

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2015 10:29 AM
Hey guys,
I had a look around and couldn't find anything on this. I apologize if I missed something obvious but here's what I would like to do:
I was wondering if it was possible to queue process instances to ensure that there are only ever n number of concurrent instances.
For example, lets say we have process P.
I create 20 instances I1 to I20.
I would like to ensure that on 5 of those processes are running (say I1-I5) and that the others are queued.
When one of the instances has ended the system then runs one of the queued instances (I6 for example)
Is there any way to accomplish this? Maybe a way in the process definition to pause the instance and have it wait for others to terminate?
Thanks in advance.
I had a look around and couldn't find anything on this. I apologize if I missed something obvious but here's what I would like to do:
I was wondering if it was possible to queue process instances to ensure that there are only ever n number of concurrent instances.
For example, lets say we have process P.
I create 20 instances I1 to I20.
I would like to ensure that on 5 of those processes are running (say I1-I5) and that the others are queued.
When one of the instances has ended the system then runs one of the queued instances (I6 for example)
Is there any way to accomplish this? Maybe a way in the process definition to pause the instance and have it wait for others to terminate?
Thanks in advance.
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2015 10:30 AM
PS: I wanted to add that the actual order the instances are run in doesn't matter.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2015 04:36 PM
Hi dmill,
BPMN model in activiti does not cover resources now. If you want to support resources I would extend subproces to cover resources models and behaviour.
Regards
Martin
BPMN model in activiti does not cover resources now. If you want to support resources I would extend subproces to cover resources models and behaviour.
Regards
Martin
