JBoss Community

Re: Defining users for TaskServer - jbpm5

created by Odelya Holiday in jBPM - View the full discussion

Thanks.

 

In the code I start the server like this:

 

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

taskSession = taskService.createSession();

taskSession.addUser(myuser);

server = new MinaTaskServer(taskService);

 

and I invoke it only once - startup of application.

 

so you mean that I can write taskSession.addGroup(myuser); while the server is running will add it to db?

Reply to this message by going to Community

Start a new discussion in jBPM at Community