JBoss Community

How to prevent user code be cached?

created by Bo meng in jBPM - View the full discussion

Hi there,

 

I am new to Jbpm. I noticed in the developer guide it said:

 

In case you do have a need for stateful user objects, you can specify parameter cache="disabled" on the definition of the user code. In that case a new user code object will be instatiated for every usage.

 

 

How do we set  this feature? cache="disabled". Do we set it in the jbpl file or in the java code?

Thanks,

Bo

Reply to this message by going to Community

Start a new discussion in jBPM at Community