cancel
Showing results for 
Search instead for 
Did you mean: 

Passing transient variables to a java class that implements

rafusaro
Champ in-the-making
Champ in-the-making
We were working on a proof of concept project using jBPM 4 and I wrote a java class that implemented jBPM's DecisionHandler class. I used a contextInstance object’s set/get TransientVariable methods to set and get some information we needed temporarily to determine which workflow process to perform next. We do not want to persist these variables to the workflow database.   

How do you pass transient variables in Activiti?

Thanks Rick
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
Transient variables are not yet supported in Activiti.

tombaeyens
Champ in-the-making
Champ in-the-making
You can use a ThreadLocal yourself for that functionality