mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
66051: ACE-1154: Outcome of the Review and Approve task is not displayed in the "My Completed Task" component. Oracle specific issue: Set default value for outcome label. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,6 +22,7 @@ import org.springframework.extensions.surf.util.I18NUtil;
|
||||
public class WorkflowTaskNode extends TransientMapNode {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final String DEFAULT_TRANSITION_TITLE = "bpm_businessprocessmodel.transition.title";
|
||||
private Map<String, Object> propertyWrapper;
|
||||
|
||||
private WorkflowTask workflowTask;
|
||||
@@ -57,11 +58,13 @@ public class WorkflowTaskNode extends TransientMapNode {
|
||||
{
|
||||
outcome = transition;
|
||||
}
|
||||
if (outcome != null)
|
||||
{
|
||||
propertyWrapper.put("outcome", outcome);
|
||||
}
|
||||
}
|
||||
//ACE-1154
|
||||
if (outcome == null)
|
||||
{
|
||||
outcome = I18NUtil.getMessage(DEFAULT_TRANSITION_TITLE);
|
||||
}
|
||||
propertyWrapper.put("outcome", outcome);
|
||||
|
||||
// add the workflow instance id and name this taks belongs to
|
||||
propertyWrapper.put("workflowInstanceId", workflowTask.getPath().getInstance().getId());
|
||||
|
Reference in New Issue
Block a user