[jboss-user] [jBPM] - In jbpm 4.3, how to get the incoming node name in the next node?

Tun Mang do-not-reply at jboss.com
Tue Aug 17 20:33:05 EDT 2010


Tun Mang [http://community.jboss.org/people/tunmang] created the discussion

"In jbpm 4.3, how to get the incoming node name in the next node?"

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

--------------------------------------------------------------
Hi :

In task node's and custom node's handler as shown below, how does one know its incoming node name? Thanks a lot for your help.

(1) 
  <custom class="TestActivity" name="TestNode">
      <transition to="end" "/>      
   </custom>
 
public class TestActivity implements ActivityBehaviour
{
  public void execute(ActivityExecution execution)
  {
    // how to get in-coming node name by execution ? 
  }
}

(2) 
   <task name="TestNode">
    <assignment-handler class="TestTask"/> 
      <transition to="end" "/>      
   </task>

public abstract class TestTask implements AssignmentHandler 
{  
  public void assign(Assignable assignable, OpenExecution execution) 
  {
    // how to get in-coming node name by execution ?
  }
}



--------------------------------------------------------------

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

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/20100817/f2f5acc9/attachment-0001.html 


More information about the jboss-user mailing list