AnsweredAssumed Answered

Workflow always refer to old bean id

Question asked by qsdmv on Apr 22, 2011
Latest reply on Apr 25, 2011 by qsdmv
I have created Action class for workflow, I define the bean id as "test_wf".


In workflow definition xml, I have defined previous workflow:

<transition name="approve" to="approved">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
               var publishAction = actions.create("orig_wf");
               publishAction.execute(bpm_package);
            </script>
         </action>
      </transition>


Then I changed to:

<transition name="approve" to="approved">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
               var publishAction = actions.create("test_wf");
               publishAction.execute(bpm_package);
            </script>
         </action>
      </transition>


When I publish the tree, it always complains old "orig_wf" action id which doesn't exists now. I re-start and clean temp and work directories in tomcat but still. I have no idea. Is it possible previous workflow definition cached somewhere?

Thanks

Outcomes