[jboss-user] [JBoss jBPM] - Re: create task at runtime

massimiliano_cuccia do-not-reply at jboss.com
Wed Jul 25 09:14:11 EDT 2007


FIXED!!!

I changed some things
I attached the handler on node leave
in the handler I created the new task and created a new variable using
tCompDoc.setVariableLocally(varname, varvalue);

then in the action to execute a task I called 
ti.getVariablesLocally()
to obtains the list of variables defined in the executing task

now I doesn't care about ti.getTask that is null
i doesn't care about a taskcontroller
i doesn't care about any other boring stuff

thanks to syngolis!

If someone has any questions about my code can ask me!

regards


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

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



More information about the jboss-user mailing list