JBoss Community

How to remove variable from process

created by Miljenko Norsic in jBPM - View the full discussion

Hi All,

 

is there a way to remove variable from process instance?

Right now, we have a method

processInstance.setVariable("variable", value);

 

Beside the obvious solution

processInstance.setVariable("variable", null);

 

are there any other solutions?

 

For example, it would be nice to have something like this:

processInstance.removeVariable("variable");

 

Does it make sense?

 

Thanks,

Miljenko

Reply to this message by going to Community

Start a new discussion in jBPM at Community