diff --git a/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/JobHandlerRenameUser.java b/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/JobHandlerRenameUser.java index 204f3e890..4a465dd60 100644 --- a/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/JobHandlerRenameUser.java +++ b/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/JobHandlerRenameUser.java @@ -217,6 +217,11 @@ public boolean updateWorkitemUserIds(ItemCollection entity, String from, String return false; } + if (entity.getItemValueBoolean("private")) { + return false; + } + + // Verify Fields if (updateList(entity.getItemValue("$ReadAccess"), from, to, replace)) bUpdate = true; diff --git a/src/site/markdown/administration.md b/src/site/markdown/administration.md index 1501911d8..12ec63ffd 100644 --- a/src/site/markdown/administration.md +++ b/src/site/markdown/administration.md @@ -56,10 +56,13 @@ Example of a a Job Description: workitem FROM USER ID NEW USER ID + false -If a workitem has the item '_$private_" set to _true_ the workitem will be ignored by the job. This is useful for personal workitems which should not be delegated to the deputy. E.g. 'personnel file' or a 'application for leave'. +If the job item 'keyReplace' is set to 'true' then the old user id will be removed. + +If a workitem has the item '_private_" set to _true_ the workitem will be ignored by the job. This is useful for personal workitems which should not be delegated to the deputy. E.g. 'personnel file' or a 'application for leave'. ### Migration