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.
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <script> log.debug( "task_id:" + taskInstance.id) </script> …
<event type="task-create"> <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript"> <script> <variable name="taskId" access="write"/> <expression> taskId = taskInstance.id; <!– ID actual worflow-task var procId = executionContext.processInstance.getId(); <!– ID workflow-process –> var host = urls.share.host; var protocol = urls.share.protocol; var port = urls.share.port; var context = urls.share.context; if (logger.isLoggingEnabled()) logger.log(">>> Start Workflow - Task: jbpm$" + taskId + " Workflow: jbpm$" + procId + "\n"); if (logger.isLoggingEnabled()) logger.log(">>> host: " + host + ":" + port + " Protocol: " + protocol + " Context: " + context + "\n"); </expression> </script> </action> </event>