public void storePageflow()
{
if ( Init.instance().isJbpmInstalled() )
{
Pageflow pageflow = Pageflow.instance();
if ( pageflow.isInProcess() /*&& !pageflow.getProcessInstance().hasEnded()*/ && Manager.instance().isLongRunningConversation() )
{
pageflowName = pageflow.getSubProcessInstance().getProcessDefinition().getName();
pageflowNodeName = pageflow.getNode().getName();
pageflowCounter = pageflow.getPageflowCounter();
}
else
{
pageflowName = null;
pageflowNodeName = null;