Adding user is not easy as adding user to it's JBPM_ID_USER table. Follwing is neccessary during adding a user.
1) Add a user to it's JBPM_ID_USER and note your USER_ID 2) Check JBPM_ID_GROUP table to find the ID corresponding to user role and note it as GROUP_ID (This is neccessary because as per current context a user should have at least an user role) 3) Go to JBPM_ID_MEMBERSHIP table and make sure that the USER_ID(noted step-1) should have atleast GROUP_ID(noted step-2) However for additional role to be added for a user you can add additional GROUP_ID found in JBPM_ID_GROUP table and subsequently be inserted them in JBPM_ID_MEMBERSHIP table. But remember that your custom user should have atleast a user role found in JBPM_ID_GROUP table. If you can check the dependency between the tables mentioned at step 1-2 and 3 then you will definitely understand the described story. check ER- diagram for them as well.Hope that this will solve your problem well. Thanks Soumya View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160739#4160739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160739 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user