Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss jBPM] - Re: Why should I create task in
 Task-node ?

scott.stark@jboss.org

2007-07-15


"kukeltje" wrote : you can't create tasks in states... that is why you have to do it in a task-node

I could write a action class for a state.For example:
<state name="fire employee">
|   <transition to="collect badge">
|     <action class="com.nomercy.hr.RemoveEmployeeUpdate" />
|   </transition>
|  </state>
|
In the class RemoveEmployeeUpdate,I could invoke the following code:
TaskMgmtInstance.createTaskInstance(...)).
right? I mean that I could write a class to create a task in any node type?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064326#4064326

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064326
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.