AnsweredAssumed Answered

Configurin Task Dialog for Advanced Workflows

Question asked by jonnygranati on Apr 1, 2008
I’m trying to follow this tutorial:

In step 1, I created the Process Definition with the JBoss jBPM Process Designer and deployed it successfully. The file is called processdefinition.xml and looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<process-definition  xmlns=""  name="wf:adhoc">
   <swimlane name="initiator"></swimlane>
   <start-state name="start">
      <task name="wf:submitAdhocTask" swimlane="initiator"/>
      <transition to="adhoc"/>
   <swimlane name="assignee"/>
   <task-node name="adhoc">
      <task name="wf:adhocTask" swimlane="assignee"/>
      <transition to="completed"/>
   <task-node name="completed">
      <task name="wf:completedTask" swimlane="initiator"/>
      <transition to="end"/>
   <end-state name="end"/>

In step 2, I created a new Content Model called my-workflowmodel.xml and put it in C:\Alfresco\tomcat\shared\classes\alfresco\extension. The file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<model name="wf:workflowmodel" xmlns="">
     <import uri="" prefix="d"/>
     <import uri="" prefix="bpm"/>
     <namespace uri="" prefix="wf"/>
     <type name="wf:submitAdhocTask">
           <property name="wf:notifyMe">
     <type name="wf:adhocTask">
     <type name="wf:completedTask">

Note that I set the default value for the notification to true, just to test if the association with the Task Dialog works.
In the same directory I have a file called extension-context.xml that looks like this:

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

    <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">

When I start that workflow on a file, I get the normal dialog as for the out-of-the-box advanced workflows, but the notify-me box is not selected.
Does someone have any ideas, why this is? Thanks in advance.