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

    Create new users in jBPM

    Ashish Kumar Newbie



        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
          Miloud Haimoune Newbie



          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