Skip to content

Commit

Permalink
implemented, documented
Browse files Browse the repository at this point in the history
issue imixs#351
  • Loading branch information
rsoika committed Feb 27, 2018
1 parent d3b8dfb commit 2aaa53a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 4 additions & 1 deletion src/site/markdown/administration.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ Example of a a Job Description:
<item name="typelist"><value xsi:type="xs:string">workitem</value></item>
<item name="namfrom"><value xsi:type="xs:string">FROM USER ID</value></item>
<item name="namto"><value xsi:type="xs:string">NEW USER ID</value></item>
<item name="keyreplace"><value xsi:type="xs:boolean">false</value></item>
</document>


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
Expand Down

0 comments on commit 2aaa53a

Please sign in to comment.