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 ?
}
}