Oh and then Process.instance().setTaskId()
Thanks Gavin, I'll give that a try
btw, is it really 3 in the morning over there ? You guys really take your 24 / 7 support seriously ;-)
heh, no actually it is just 12, we are in Las Vegas for JBoss World :-)
That worked. The business process context now picks up the correct process / task.
(I got rid of the @BeginTask annotation on the method)
My app sets the task and then navigates to a new page to work on this task, however the business process context seems to get reset by the next event, so that when I submit the new form the business process context has gone. Can I stop that from happening ?
I am using Seam 1.0 beta1.
Easily fixed: just start a conversation.
That worked as well.
Now I just have to go away and work out the relationship between a conversation context and the business process context so I know why it worked !