1 Reply Latest reply on Jan 18, 2012 2:48 PM by melc

    Display next task form with out going to the tasks list page

    jegan

      Hi All,

       

      We are planning to use JBPM 5.2 for our work flow requirements. Our goal is to integrate JBPM Process Engine inside our application. We will use Guvnor to design the process, but want to build the functionalities offered by jbpm console within our application instead of using it.

       

      The question here is, if it is possible to get the next task form and display it (without the user going to the task list and pick the task) when the user is completed with the current task. For example, please consider the below scenario.

       

      Start ---> Human Task 1 ---> Script Task 1 ---> Human Task 2 ---> End

       

      Assume both the tasks are assigned to the same user called "sales_rep". Now, when sales_rep wants to complete "Human Task 1", we display the task form to him so he completes task 1. With this, the process instance reaches "Human Task 2". Usually the user closes the task form for task 1, goes back to the task list, selects "Human Task 2" and starts exeucting it.

       

      Our requirement is that if the next human task is also assigned to the same user (which in this case is true), the task form for the next task ("Human Task 2") should also be displayed immediately with out the user having to go back to task list and picking the next task. This way, the transition is smooth and the user is not aware that he is involved in a work flow.

       

      Is this possible? And is this correct, what we are trying to achieve? If yes, please direct me to some samples or links if available.

       

      And thanks a lot for patiently reading this and replying

       

      Regards,

       

      Jegan