1 Reply Latest reply on Jan 17, 2011 9:16 PM by Kris Verlaenen

    When does a session closes once a process with human task completes in program?

    shashi mhatre Newbie

      I have one question on session variable and process instance. I have a human task in process and using WSHumantaskhandler for human task processing. when i start my standalone program, process start successfully and wait for human task completion. As human task is the last node in my process, Once the the task is completed using jbpm console, standalone program keeps on running. as there is no process running, why stand alone program keeps on running. shouldn't it be terminate automatically as there is no process running.

       

      I have a requirement where one session will have only one process. As I am going to create multiple session, i want to close the session once process is completed. how can we achieve this goal.

       

      Regards,