这是salaboy的例子:
private void addUsersAndGroups(TaskServiceSession taskSession) {
User user = new User("salaboy");
User watman = new User("watman");
taskSession.addUser(user);
taskSession.addUser(watman);
User administrator = new User("Administrator");
taskSession.addUser(administrator);
users.put("salaboy", user);
users.put("watman", watman);
users.put("administrator", administrator);
Group myGroup = new Group("group1");
taskSession.addGroup(myGroup);
groups.put("group1", myGroup);
}
我想使用真正的用户表。我该如何映射?如何使用UserGroupCallback
接口?用户如何在线自定义流程,他们是否使用 guvnor ?