Hello,
I'm using Alfresco Enterprise Edition Version 5.0.3 and I installed the new Activiti Suite 1.3.2, using the WAR distribution.
I'm new with the Activiti Suite, but I did some examples with BPMN and step editor, I tried to import the bpmn processes from my old Activiti.
They were successfully imported, but the new Activiti Suite is not recognizing the method "org.alfresco.repo.workflow.activiti.script.AlfrescoScriptDelegate", which I used in every serviceTask in my old workflows.
When I start the workflow, the next step is a service task and I see the following exception on log file:
03:39:30,498[http-bio-8080-exec-155] DEBUG org.springframework.web.servlet.DispatcherServlet- Could not complete request org.activiti.engine.ActivitiException: couldn't instantiate class org.alfresco.repo.workflow.activiti.script.AlfrescoScriptD elegate at org.activiti.engine.impl.util.ReflectUtil.instantiate(ReflectUtil.java:137) at org.activiti.engine.impl.bpmn.helper.ClassDelegate.instantiateDelegate(ClassDelegate.java:224) at org.activiti.engine.impl.bpmn.helper.ClassDelegate.getActivityBehaviorInstance(ClassDelegate.java:197) at org.activiti.engine.impl.bpmn.helper.ClassDelegate.execute(ClassDelegate.java:139) at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:6 0)
This "AlfrescoScriptDelegate" class I have always used with field "script", where I could write my Javascript code.
So my question is what is the best way to solve this problem? Is there another way to use my same logic? Or a way to make Activiti Suite recognize this class from repo? I'm not finding a good way.
Thank you for your attention and your help,
Best regards,
Francisco Guariba
ELESTA GmbH
Francisco Guariba,
IT-Application Advisor
ELESTA GmbH,
Bad Ragaz, Schweiz