1 Reply Latest reply on May 5, 2009 3:03 AM by sirfrancis

    unable to reassign Task using jBPM4

      Hi All,
      i'm searching a function to reassign a task to another user.
      If the task is already assigned, and i try to reassign ist with

      taskService.takeTask(Long.valueOf(taskId), assignee);

      jBPM throws an "task already taken by johndoe" exception.

      And using
      Task t1 = taskService.getTask(Long.valueOf(taskId));
      t1.setAssignee(assignee);

      takes no effect.
      So how can I reassing a task ?

      greetings SirFrancis