AnsweredAssumed Answered

Import external script file from repository  [SOLVED]

Question asked by ericnk on Apr 7, 2012
Latest reply on Apr 10, 2012 by ericnk

How do I dynamically import a javascript file from the repository into an activiti script task?  Using JBPM I would accomplish this as follows….

<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <import resource="/Company Home/Data Dictionary/Scripts/powf-phase-one-task.js">

… But, I am unable to find a similar approach using activiti (BPMN 2.0).  I have read through Jeff Potts Advanced Workflow Tutorial 2nd edition on activiti workflows and haven't found any examples of this.  I haven't come up with any results searching through the workflow forum either.  Does anyone have any ideas as to how this would be accomplished in activiti?  I would welcome any suggestions or comments.  Thank you.