This content has been marked as final. Show 1 reply
I have a custom action (extending ActionHandler) that creates a new Thread.
Don't do this. it is not allowed to start new threads from a java class. Use jbpm async functionality for this.
Inside this thread I am setting a variable using:
The problem I am seeing is that this variable is never set or seen by the other tasks. Am I doing something wrong or is setting a variable is a new Thread just not supported?
Yes, you do something wrong. The variables are only persisted when you leave the actionhandler.