Admin signs in A1 for the test user:
processEngine.getTaskService().delegateTask(task.getId(), “test”);
After the test user completes the task:
processEngine.getTaskService().resolveTask(task.getId(),this.variables);
processEngine.getTaskService().complete(task.getId(), this.variables, this.localScope);
The task returns to admin,
But admin will have two A1 pending tasks
Admin signs in A1 for the test user: processEngine.getTaskService().delegateTask(task.getId(), “test”); After the test user completes the task: processEngine.getTaskService().resolveTask(task.getId(),this.variables); processEngine.getTaskService().complete(task.getId(), this.variables, this.localScope); The task returns to admin, But admin will have two A1 pending tasks