AnsweredAssumed Answered

hello example, can't get it to work

Question asked by xtine on Aug 27, 2010
Latest reply on Aug 30, 2010 by xtine
I created a workflow, similar to the hello example in the book and in the wiki. It's the one where the user is supposed to type their name, which then gets logged. Can't get it to work though. The workflow does show me a tex entry box, but the title is "Owner:" rather than the title I specified, and input is blocked. When I press next, I get an error:
Please correct the errors below then click Finish.
    * A system error happened during the operation: 07270001 Mandatory task properties have not been provided!

This is my processdefinition.xml
<?xml version="1.0" encoding="UTF-8"?>

<process-definition  xmlns=""  name="bidnwf:helloAssessor">

   <start-state name="start">
        <task name="bidnwf:helloAssessorTask" >
        <transition name="getSmart" to="helloStart">
             <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <variable name="bidnwf_helloText" access="read" />
                logger.log("Hello, text is " + bidnwf_helloText);

  <node name="helloStart">
    <transition to="selectAssessor">
    <fork name="selectAssessor">
    <transition to="otherHello" name="to otherHello"></transition>
    <transition to="hello" name="to hello"></transition>
  <task-node name="hello">
       <task name="bidnwf:anotherAdHocTask" />
   <transition to="reportBack"></transition>

  <task-node name="otherHello">
       <task name="bidnwf:adHocTask" />
       <transition to="reportBack"></transition>

  <join name="reportBack">
    <transition to="end-state1"></transition>

    <end-state name="end-state1">


This is the workflowmodel xml
<?xml version="1.0" encoding="UTF-8"?>

<model name="bidnwf:workflowmodel" xmlns="">

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

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

      <namespace uri="" prefix="bidnwf"/>


      <type name="bidnwf:helloAssessorTask">
          <property name="bidnwf:helloText">
    <type name="bidnwf:adhocTask">

     <type name="bidnwf:anotherAdhocTask">
   <type name="bidnwf:endTask">


The workflow shows up in the workflow console, it also shows up in the Advanced workflow menu, I can start it, but as I said, I can't enter the required property.
I'm sure I'm missing something, or even it's a simple mistake, but right now, I'm stuck…..