mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
ALF-3967: F54 A section of the document details page shows details of the workflows that the document is involved in
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22144 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
"id": "${task.id}",
|
||||
"url": "${task.url}",
|
||||
"name": "${task.name}",
|
||||
"type": "${task.type}",
|
||||
"title": "${task.title}",
|
||||
"description": "${task.description}",
|
||||
"type": "${task.type}",
|
||||
"state": "${task.state}",
|
||||
"path": "${task.path}",
|
||||
"isPooled": ${task.isPooled?string},
|
||||
|
@@ -279,9 +279,10 @@ public class WorkflowModelBuilder
|
||||
// do an extra query which makes things slow
|
||||
model.put(TASK_WORKFLOW_INSTANCE_PRIORITY, 2);
|
||||
model.put(TASK_WORKFLOW_INSTANCE_DUE_DATE, null);
|
||||
if (workflowInstance.getDescription() != null)
|
||||
String message = workflowInstance.getDescription();
|
||||
if (message != null && message.length() > 0)
|
||||
{
|
||||
model.put(TASK_WORKFLOW_INSTANCE_MESSAGE, workflowInstance.description);
|
||||
model.put(TASK_WORKFLOW_INSTANCE_MESSAGE, message);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user