I'm using Seam-2.2.2.final with its bundled JBPM and I have a pageflow that begins with a <start-page> node and ends with a <page name="xxx", view-id="xxx"><end-conversation before-redirect="true"/><redirect/></page>
This is how pageflows are ended according to the documentation I have founde (e.g. http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Web_Platform/5/html/Seam_Reference_Guide/jbpm.html)
My problem is that no "org.jboss.seam.endPageflow" event is thrown when I reach this point even though the corresponding event, "org.jboss.seam.beginPageflow" is thrown when I start the pageflow.
processInstance.hasEnded() fails at line 350 of org.jboss.seam.pageflow.Pageflow which is why the event is not thrown.
Can someone please tell me what I'm doing wrong?