2 Replies Latest reply on Jun 28, 2013 6:29 AM by juriz

    Human Task User Management

    juriz

      Hey,

       

      I am trying to create a simple process with one human task. When I create this human task with a default actorId like "krisv" or "mary" everething works just fine.

      But when i am trying to create a new user with

       

      taskSession.addUser(new User(name));

       

      and then assign the human task to this new user the created task has a null value for the actualOwner_id. So I am not able to retrieve this task. But the table organizationalentity

      contains this new user.

       

      I am using jBPM 5.4 with MySQL database.

       

      Do I miss something?

       

      Thanks in advance.

        • 1. Re: Human Task User Management
          thomas.setiabudi

          Hi Juri Zeisler,

           

          You may need to get a look on how the UserGroupCallback is implemented in your environment.

           

          If you use the default User Group Callback from JBPM 5.4 Installer, it will look for valid user and groups from

           

          \jbpm-installer\jboss-as-7.1.1.Final\standalone\configuration\users.properties

           

          and

           

          \jbpm-installer\jboss-as-7.1.1.Final\standalone\configuration\roles.properties

           

          But this is just a default implementation,

          You can even make your own User Group Callback implementation to get valid user from somewhere else,

          Take a look at the documentation to get more info:

          http://docs.jboss.org/jbpm/v5.4/userguide/ch.human-tasks.html#d0e5419

           

          Regards,

          Thomas Setiabudi

          • 2. Re: Human Task User Management
            juriz

            Hey,

             

            thank you for your answer. I think I understand now how the user management is done. But what are the entries in the organizationalentity table user for?

             

            Thanks.