Get NodeRef of a workflow task Alfresco
问题 I create a workflow, and when I go to the task-edit page: I'm trying to obtain the nodeRef of the file (latexexemplo-2.pdf) of the workflow task: http://localhost:8080/share/page/task-edit?taskId=activiti$20649 I'm trying to make this way: var taskId = args.taskId var task = workflow.getTaskById(taskId); nodeRef = task.getPackageResources()[0].nodeRef; But I obtain "args is not defined" ... "workflow is not defined" ... "task is not defined". How can I get the nodeRef with another way? 回答1: