I am attempting to develop a custom node which launches a preset number of sub process instances. I have sucessfully managed to get my node to launch these instances, however I am struggling to find out how to get my custom node's token to move onto the next node once all the child instances have ended...
My first approach was to create child tokens of the custom node token, and set the token of the sub instances to these child tokens. This didnt seem to work. The custom node's token seems to "dissapear", i.e. getNodeName returns Null as does getTransitions.
Can anyone offer up and advice or point me in the right direction as to how to do this? Any online documentation i have found so far has not helped.
yes, create a custom join (just like you probably created a custom fork)... see the source of jbpm for the default fork and join