As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<event type="task-create"> <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <runas>admin</runas> <script> var task_id="jbpm$"+executionContext.getTaskInstance().getId() var task=workflow.getTaskById(task_id); task.endTask("Otpremanje"); </script> </action> </event>