JBoss Community

Re: My jBPM5.2 doesn't work! Like this......

created by 渊 李 in jBPM - View the full discussion

I promiss it.

 

I have added all the users when MinaTaskServer class started.

 

TaskService taskService = new TaskService(emfTask, SystemEventListenerFactory.getSystemEventListener());

                              /*

                               * Add the required users

                               */

                              TaskServiceSession taskSession = taskService.createSession();

                              taskSession.addUser(new User("Administrator"));

                              taskSession.addGroup(new Group("Stuff"));

                              taskSession.addUser(new User("kvsi"));

                              taskSession.addGroup(new Group("Manager"));

                              taskSession.addUser(new User("john"));

                              taskSession.addUser(new User("krisv"));

                              /* Start Mina server for HT */

                              MinaTaskServer server = new MinaTaskServer(taskService);

                              Thread thread = new Thread(server);

                              thread.start();

Reply to this message by going to Community

Start a new discussion in jBPM at Community