JBoss Community

Re: JBPM 5.4.0-Final: Human Task variable mapping is not working

created by vchmakov in jBPM - View the full discussion

Hi Maciej,

After some changes I think now I have both the runtime and the local Task Server working in the same transaction and sharing the same persistence context. I found that perhaps LocalHTWorkItemHandler.setClient() can be used instead of overriding of the TaskCompleteHandler to make Complete Task command working in the same persistence context. Please correct me if I’m wrong on this. All my process variables are objects – java.lang.String, java.lang.Integer etc. Is this what you mean in your reply above? The error did not go away. Any other ideas as to why this may be happening?

Thanks,

Vladimir

 



Reply to this message by going to Community

Start a new discussion in jBPM at Community