[jboss-user] [JBoss jBPM] - Re: JBPM Identity

kukeltje do-not-reply at jboss.com
Tue Jun 2 05:23:13 EDT 2009

First of all, your code will probably never be 100% independent of the process and in reality it never caused big problems for me. 

You can not, unfortunately, create kind of static variables in jBPM 3. But for assignmenthandlers, just like with actionhandlers, you can pass in data like described in http://docs.jboss.com/jbpm/v3.2/userguide/html/jpdl.html#delegation

So you variable *name* (group in your case) can be passed in to a variable (field) in the assignmenthandler  and you use that field to retrieve e.g. a processvariable. That way the assignmenthandler is made more generic. You could even pass in 'expressions' and evaluate those. 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234643#4234643

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234643

More information about the jboss-user mailing list