AnsweredAssumed Answered

Advanced workflow properties not showing up

Question asked by bcoulson on Feb 10, 2011
Latest reply on Feb 14, 2011 by bcoulson

I have been battling with this all week and am at wits end. So here is what I have. I am using Alfresco 3.4 and the jBPM 3.2 workflow engine. I have a workflow that is actually the sample workflow from the Alfresco Developer Guide eBook. I have reviewed the documentation and forums, wiki countless times and keep coming up empty. Here is my process definition file:

<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="" name="scwf:helloWorldUI">
<start-state name="start">
   <task name="scwf:submitHelloWorldTask"/>
   <transition name="toHello" to="hello"></transition>

<task-node name="hello">
   <transition name="toEnd" to="end1">
   <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
         <variable name="scwf_helloName" access="read"/>
            System.out.println("Hello " + scwf_helloName + "!");
<end-state name="end1"></end-state>

Here is my workflow model:

<?xml version="1.0" encoding="UTF-8"?>
<model name="scwf:workflowmodel"
   <description>Someco Workflow Model</description>
      <import uri=""
         prefix="d" />
      <import uri=""
         prefix="bpm" />         
      <namespace uri=""
         prefix="scwf" />
      <type name="scwf:submitHelloWorldTask">
               <property name="scwf:helloName">

Here is my resource bundle:

scwf_workflowmodel.type.scwf_submitHelloWorldTask.title=Start Hello World UI Workflow
scwf_workflowmodel.type.scwf_submitHelloWorldTask.description=Submit a workflow that says hello in the log hello to this person

# processdefinition related strings
scwf_helloWorldUI.workflow.title=Hello World UI
scwf_helloWorldUI.workflow.description=A simple hello world process

Here is my content model.

<?xml version="1.0" encoding="UTF-8"?>
   <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
      <property name="models">
   <bean id="extension.workflowBootstrap" parent="workflowDeployer">
      <property name="labels">

And finally my configuration for the webUI from web-client-config-custom.xml

   <config evaluator="node-type" condition="scwf:helloWorldUI" replace="true">
         <separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
         <show-property name="scwf:helloName" component-generator="TextFieldGenerator" display-label_id="scwf_helloName"/>
         <separator name="sep2" display-label-id="user_filter_user" component-generator="HeaderSeparatorGenerator" />

Whenever I select a piece of content and attempt to start Advanced Workflow for it, the property for helloName does not show up. HELP!! My model is parsed just fine. Do I need to include the bpm:assignee in my workflow? Also I never see anything in my log file when I use the AlfrescoJavaScript action for other non-UI workflow that execute successfully. And I have turned logging to DEBUG for