2 Replies Latest reply on Mar 7, 2006 5:24 AM by koen.aers

    A problem on the ROLE' task

    reyou

      If a task is assigned to a ROLE, that means every user who has the role can do this task. While an user dealing with the task, however another user maybe do the same thing. So there is a conflict between the two users's work.

      How can JBPM avoid this conflict?

        • 1. Re: A problem on the ROLE' task
          koen.aers

          jBPM does nothing to avoid the conflict in this case. When the first of any pooled actors 'takes' the task, it should be moved to his own tasklist and out of the pooled list. The task can return to the pooled list by setting the actorid of the task to null. During the process of doing so, the client application should perform the proper locking on the process instance to avoid conflicts.

          Regards,
          Koen

          • 2. Re: A problem on the ROLE' task
            koen.aers

            By the way, no crossposting please! I just saw a second post where you asked the same question that was already answered. Not crossposting would have saved me some precious time and allowed for an other one to get an answer...

            Regards,
            Koen