0 Replies Latest reply on Nov 20, 2010 2:23 AM by omid pourhadi

    JBPM TaskList

    omid pourhadi Apprentice

      Hi,
      i created a jbpm process contains a task node after i start process and redirect to task list page everything is ok and all tasks has shown but after i log out and login again, task list has not shown until i start another process 
      i want to have task list everytime and everywhere in my application
      any idea ?


      a statefull bean


      @CreateProcess(definition="Courier")
      public void startProcess(){
      actor.setId(credentials.getUsername());
      }



      taskList page



      <rich:dataGrid value="#{taskInstanceList}" rendered="#{not empty taskInstanceList}" var="_ts">
                               <rich:column>
                                    <f:facet name="header">task name</f:facet>
                                    #{_ts.name}
                               </rich:column>
                               <rich:column>
                                    <f:facet name="header">created</f:facet>
                                    #{_ts.create}
                               </rich:column>
                          </rich:dataGrid>