08-25-2011 04:40 AM
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
log.debug( "task_id:" + taskInstance.id)
</script>
…
08-26-2011 09:46 AM
09-20-2011 07:08 AM
<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>
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.