[jboss-user] [jBPM] - Re: Simple state machine with transitions

Alfie Kirkpatrick do-not-reply at jboss.com
Fri Jun 7 13:25:35 EDT 2013


Alfie Kirkpatrick [https://community.jboss.org/people/alfiekirkpatrick] created the discussion

"Re: Simple state machine with transitions"

To view the discussion, visit: https://community.jboss.org/message/822037#822037

--------------------------------------------------------------
Thanks both for your replies. I got a bit further today and have uploaded a very basic working example to github here:  https://github.com/jugglingcats/tjbpm https://github.com/jugglingcats/tjbpm.
 https://raw.github.com/jugglingcats/tjbpm/master/diagram.png  https://raw.github.com/jugglingcats/tjbpm/master/diagram.png 
This works fine, but it's a +really+ simple workflow and already quite cumbersome. Applying unit tests isn't really an option, because projects can configure workflows on the fly.

Ashish, is there documentation anywhere on programatically creating tasks, etc? Maybe this is ultimately the way to go, but it seems to me that a lot of work has gone into the SemanticModule implementations such as ProcessSemanticModule and BPMNSemanticModule and that these are (or should be) extensible with higher level semantics - but there is a fair amount of complexity in these implementations so hard to see where to start. What I'm after is a way to roll together the saved and saveTransitions (and outgoing sequence flow constraints) into a single construct, eg:

<myns:state id="x" name="saved">
  <myns:transition name="reject" to="review"/>
  <myns:transition name="approve" to="published"/>

</myns:state>


The idea of using (or even extending) existing visual editors with this type of extension is probably unrealistic...

Am suffering from wanting to make common scenarios in our environment really simple but still allow the power of BPMN when needed.

Regards, Alfie.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20130607/8e82c4cf/attachment-0001.html 


More information about the jboss-user mailing list