cancel
Showing results for 
Search instead for 
Did you mean: 

update user groups and users that are assigned to business processes

sureshtellakula
Champ in-the-making
Champ in-the-making
Hi,

I assign few business processes to the particular users or user groups and that business processes are running in the Activiti Engine.
When i update user groups or users which are assigned business processes what will be the impact and how i solve the Issue.

Please provide me solution for this.

regards,
suresh
3 REPLIES 3

frederikherema1
Star Contributor
Star Contributor
Depends on what updates you do. Updating firstname, lastname, email, groupname, … won't impact the behaviour of a user in the system. If you change the membership of a user in a group, this might impact FUTURE processes, as the user won't be able to claim tasks anymore for the group he/she is removed from. But the existing processes that involve that user remain unaffected. When a user/group is deleted, existing processes which reference the user remain unaffected. Offcourse, if you don't have "userX" anymore, all tasks assigned to "userX" will still exist. It's your responsibility to locate them an delegate them, for example, or cancel those workflows…

sureshtellakula
Champ in-the-making
Champ in-the-making
Hi,
Thank you for your feedback. When production some one admin user modifies user name or user group which are assigned business processes. It will impact right. For avoiding this situation is it advisable to write triggers for not effecting Impact.

If advisable please provide me which tables we need to assign triggers for this Issue.

regards,
suresh

frederikherema1
Star Contributor
Star Contributor
ID's of users and groups cannot be changed trough the API. ALL update-update statements for users and groups leave the ID untouched, and the ID's are used in the BPMN-definitions. So no change of breaking anything…