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&...]