This content has been marked as final.
Show 1 reply
-
1. Re: JBPM taskInstance variable is null when navigating to another page.
c0upal Dec 29, 2008 11:05 AM (in response to c0upal)Apparently, a task needs to be started(begin) first before accessing its variables. Why? Explanations please? :D
What I did was on the s:link tag on homepage, i had the action property equals to a method on a bean with a @BeginTask annotation.
and then also on the tempStudentEntry, I changed the value from
"taskInstance.taskInstance.variables['studAddress']"
to just taskInstance.variables, the code-suggest function of Eclipse, is offering a different taskInstance class.Could someone please explain why does a task need to be started before accessing its variables or properties?
thanks and best regards,
Anton