05-22-2014 11:00 AM
05-22-2014 12:16 PM
<serviceTask id="yourscripttask" name="your script task" activiti:class="org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate">
<extensionElements>
<activiti:field name="script">
<activiti:string>
var taskId = "activiti$yourscripttask";//where yourscripttask is the task id you defined in serviceTask id="yourscripttask"
var taskInstance = workflow.getTask(taskId);
taskInstance.priority=***;
//or just use direclty
taskInstance.priority=***;
</activiti:string>
</activiti:field>
</extensionElements>
</serviceTask>
05-23-2014 02:35 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.