[jboss-user] [jBPM] - How to remove variable from process

Miljenko Norsic do-not-reply at jboss.com
Tue Oct 18 04:35:59 EDT 2011


Miljenko Norsic [http://community.jboss.org/people/mnorsic] created the discussion

"How to remove variable from process"

To view the discussion, visit: http://community.jboss.org/message/632215#632215

--------------------------------------------------------------
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
[http://community.jboss.org/message/632215#632215]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111018/31768231/attachment.html 


More information about the jboss-user mailing list