AnsweredAssumed Answered

[Solved] Workflow causes error

Question asked by sihnu on Mar 24, 2011
Latest reply on Apr 13, 2011 by sihnu

I've been following book Alfresco Developer's Guide and I'm trying to do customized workflow as presented in the book. After writing the files I can't login to Alfresco Share. Here is the model (scWorkflowModel.xml):

<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new model –>
<model name="scwf:workflowmodel" xmlns="">

  <!– Optional meta-data about the model –>
  <description>Someco Workflow Model</description>

  <!– Imports are required to allow references to definitions in other models –>
    <import uri="" prefix="dz" />
    <import uri="" prefix="bpm" />

  <!– Introduction of new namespaces defined by this model –>
    <namespaces uri="" prefix="scwf" />

    <type name="scwf:submitHelloWorldTask">
        <property name="scwf:helloName">


Here is the process definition:

<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="" name="scwf:helloWorldUI">
   <start-state name="start">
     <task name="scwf:submitHelloWorldTask" />
     <transition name="" to="hello"></transition>
   <node name="hello">
     <transition name="" to="end1">
       <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
           <variable name="scwf_helloName" access="read"/>
             logger.log("Hello World!");
   <end-state name="end1"></end-state>

And here model context (there is a refer to anothe model also, though that model works fine):

<?xml version='1.0' encoding='UTF-8'?>

    <!– Registration of new models –>
    <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">

    <bean id="extension.ak.resourceBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
      <property name="resourceBundles">

   <bean id="extension.workflowBootstrap" parent="workflowDeployer">
      <property name="labels">

I can't get to workflow console to deploy the workflow. What's causing the problem?