ACE-3137: Workflow Admin Console: Not possibility to signal transition for activiti

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@89019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2014-10-23 12:09:58 +00:00
parent df37a22796
commit 3740ac93d1

View File

@@ -949,6 +949,8 @@ public class WorkflowInterpreter extends BaseInterpreter
{ {
WorkflowTask task = workflowService.endTask(command[2], (command.length == 4) ? command[3] : null); WorkflowTask task = workflowService.endTask(command[2], (command.length == 4) ? command[3] : null);
out.println("signal sent - path id: " + task.getPath().getId()); out.println("signal sent - path id: " + task.getPath().getId());
// ACE-3137: "show transitions" will fail if we don't set the workflow path first.
currentPath = task.getPath();
out.print(interpretCommand("show transitions")); out.print(interpretCommand("show transitions"));
} }
else if (command[1].equals("workflow")) else if (command[1].equals("workflow"))