AnsweredAssumed Answered

Workflowpath doesn't exist

Question asked by wmoons on Feb 27, 2012
Latest reply on Feb 20, 2013 by bone
Hi,

When I execute a workflow with just a servicetask in it, I get the error: WorkflowPath doesn't exist. The java code is executed but the workflow doesn't end.

2012-02-27 15:13:02,833  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-25] Exception from executeScript - redirecting to status template error: 01270058 Failed to execute script 'workspace:
//SpacesStore/cae15671-e667-449c-a3d8-87d7838d6b96': 01270057 Workflow path activiti$23787 does not exist.
org.alfresco.scripts.ScriptException: 01270058 Failed to execute script 'workspace://SpacesStore/cae15671-e667-449c-a3d8-87d7838d6b96': 01270057 Workflow path activiti$23787 does not exist.
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:245)
        at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:195)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

The java code just makes a call to a webservice. Nothing special.

Outcomes