I have a process which forks child tokens to handle parts of the processing. Each node in the process sets a "status" variable to indicate success or failure. Prior to the fork, a node set a STATUS_SUCCESS, then the children are forked off.
One of the children invokes a node which sets the status to STATUS_FAILURE, and invokes:
contextInstance.addVariables(variables, childToken)
contextInstance.getVariables(token)
Since no one replied to this in three weeks, I opened a bug report in Jira (JBPM-512).
I have a fix coded and tested. How do I get the code to you?