[jboss-user] [jBPM] - How to do automatic transition from one state node to any other node

Huisheng Xu do-not-reply at jboss.com
Sat Apr 24 22:53:42 EDT 2010

Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"How to do automatic transition from one state node to any other node"

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

Hi Felix,
  You shouldn't put business logic into process engine.  You could handle business logic in your class, then invoke the process engine to continue the process.  Also you should handle the state of document in your class, not process engine.  The only job of process engine is running through the graphic, when it arrived a TaskActivity, it will create a task, then you could do some related operation.  Show these tasks to end users, when end users complete a task, you could do some business logic, like save data into database, then invoke the api of process engine, let process engine  which next step we will take.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100424/4de45e60/attachment.html 

More information about the jboss-user mailing list