[jboss-user] [JBoss jBPM] - Re: Assignment mechanism
do-not-reply at jboss.com
Mon Aug 6 08:42:20 EDT 2007
1 related: You can specify variable in model which will contain name of task from where to get an actor id in your assignment handler.
| <assignment class="your.handler">
Then in assign method you should process all previous task instances with name equals to taskName variable value.
| //iterate though task instances
| //check whether it is a newer task instance than previous one
| //and store actor to some variable if it is
In case of usage of this method you will not need any additional contextInstance variables, and imho you will get more flexible handler which can be used for different nodes of various models.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071164#4071164
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071164
More information about the jboss-user