[jboss-user] [jBPM] - Re: Can workflow be changed runtime in jbpm?

Maciej Swiderski do-not-reply at jboss.com
Fri Dec 9 14:15:32 EST 2011


Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Can workflow be changed runtime in jbpm?"

To view the discussion, visit: http://community.jboss.org/message/640832#640832

--------------------------------------------------------------
In my opinion it is not possible to achieve what you described, at least not exactly. In general, process definition (bpmn2 file) is read only on runtime but there could be two options that could be interesting for you:
* ad hoc process
* use multiple instance characteristic of an activity

Ad hoc process allows you to define activities that are not connected (or does not have to be connected) to create a flow of activities and activities that should be invoked at runtime can be selected per process instance basis. More information can be found at  http://docs.jboss.org/jbpm/v5.1/userguide/ch17.html jBPM docs
Multiple instance characteristic gives you an option to decide on runtime how many instances of an activity should be created, in your case how many human tasks - mote that in this scenario it will create multiple instances of the same definition of an activity.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/640832#640832]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111209/9ad0b036/attachment.html 


More information about the jboss-user mailing list