1 Reply Latest reply on Jun 20, 2012 7:11 AM by milhaim

    Create new users in jBPM

    ashish_kumar

      hello,

       

        I am using jBOSS jBPM 5.2 tool.But I am unable to create and define new users in that.Can anybody tell me in detail that how can I define new users in jBPM and how can I use them.Kindly mention in detail bcoz I am new to this tool.

       

      Thanks and Regards

        • 1. Re: Create new users in jBPM
          milhaim

          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("....

           

          you can load you list of users from a file or a database

           

           

          HTH