Miloud Haimoune [
https://community.jboss.org/people/milhaim] created the discussion
"Re: Create new users in jBPM"
To view the discussion, visit:
https://community.jboss.org/message/743034#743034
--------------------------------------------------------------
Hi,
If you are assking about jbpm / human task users, you can add them when you create the
taskservice
TaskService taskService = new TaskService(emf,
SystemEventListenerFactory.getSystemEventListener());
TaskServiceSession taskSession = taskService.createSession();
taskSession.addUser(new User("Administrator"));
taskSession.addUser(new User("....
here an example :
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/jav...
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/jav...
you can load you list of users from a file or a database
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/743034#743034]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]