mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Another couple of workflow fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22001 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -681,6 +681,12 @@ public class WorkflowServiceImpl implements WorkflowService
|
||||
return false;
|
||||
}
|
||||
|
||||
// if a task does not have an owner it can not be reassigned
|
||||
if (task.getProperties().get(ContentModel.PROP_OWNER) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// if the task has the 'reassignable' property set to false it can not be reassigned
|
||||
Map<QName, Serializable> properties = task.getProperties();
|
||||
Boolean reassignable = (Boolean)properties.get(WorkflowModel.PROP_REASSIGNABLE);
|
||||
|
Reference in New Issue
Block a user