-
1. Re: Role Management
nib Nov 27, 2006 12:45 PM (in response to nib)P.S.: I don't mean swimlanes because you have to assign user names to every process and in my application user names change in time.
-
2. Re: Role Management
dslevine Nov 27, 2006 10:52 PM (in response to nib)Do the users change over time or just the user names? Are you using the default jBPM identity module to manage users or a different one?
-
-
4. Re: Role Management
cocampo Nov 28, 2006 1:12 PM (in response to nib)AFAIK, it is not possible to assign roles to tasks. However, you can assign roles to pooledActors property, and then let your app pick the correct user and assign him to the task instance.
BTW, remember that in some point there is no difference between roles and users; e.g., you can assign roles AND users to the pooledActors property, and that would be fine.
Regards. -
5. Re: Role Management
cocampo Nov 28, 2006 1:16 PM (in response to nib)To assign users to roles, you only need to insert the corresponding data in tables JBPM_ID_GROUP, JBPM_ID_MEMBERSHIP (which is nothing but a join table between users and roles, as you mas see in the Wiki).
Regards. -
6. Re: Role Management
nib Nov 28, 2006 4:00 PM (in response to nib)Yes i see that might be possible. Nevertheless for a real business application not acceptable. Has anyone developed a replacement for this role model?
-
7. Re: Role Management
kukeltje Nov 28, 2006 4:21 PM (in response to nib)why 'not acceptable'? To little functionality? If so, then look in the forums for posts on exchanging the the identity model.