0 Replies Latest reply on Jul 6, 2011 7:34 AM by dino.antonelli

    jbpm 5 form flow

    dino.antonelli

      Hi,

      we are experimenting some solutions in our company unig the last release of JBPM5. In our implementation we are using the jbpm api without using the ftl functionality. So when we have a task we display out own jsf gui and call relevant api in order to complete the task.

      Our customer have designed a BPMN process. The result is that the application has several tasks, each one with its own form that have to be performed in sequence. So these tasks can be performed directly, one after another. The customer also wants that if the user performs the form task he/she should automatically see the next form task in that process if it is one for him. The customer doesn't want that the ui goes back to the tasklist. We are currently looking for ways to achieve this behavior. If there is any hint or tip on how to achieve this?

      Generally speaking, we can have the following situations:

      1) The process has a sequence of workitems and in this sequence all the human tasks are owned by the same user: it's the above situation

      2) The process has a sequence of workitems and, starting from one of them, the owner is someone else, so the situation is the same as above 'till some specific task (that must in some way be identified) and than the application must go back to the tasklist to start a new sequence.

      3) The process has a fork gateway with 2 different sequences of tasks and one of them it's still owned by the same user while the other it's owned by someone else. In this case the current user continues with its tasks while the other user checks the tasklist

      4) The process has a fork gateway with 2 different sequence and each one are owned by someone else: still go to the tasklist

      5) The process has a fork gateway with 2 different sequence and each one it's owned by the same user: ?, probably, I hope, goes to the task list

      There's are any possible patterns/examples/tips to manage these situations?

       

      Thanks in advance for the answers

      Dino Antonelli