AnsweredAssumed Answered

Failed to compile model

Question asked by subash on Jun 16, 2010
Latest reply on Jun 18, 2010 by subash
Hi,
I am using alfresco 3.3 version.
I am doing the custom workflow using the tutorial 'Packt publishing' alfresco development tutorial.
While creating the model  by enabling 'Model active option '   i am getting the following error.
————————————————————————————————————
Please correct the errors below then click OK.

    * A system error happened during the operation: 05160037 Failed to compile model global:model
—————————————————————————————————————-
My workflow xm l file is given below.
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="global:model"
xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Someco Workflow Model</description>
<author>Optaros</author>
<version>1.0</version>
<!– Imports are required to allow references to
definitions in other models –>
<imports>
<import uri=
"http://www.alfresco.org/model/dictionary/1.0"
prefix="dz" />
<import uri="http://www.alfresco.org/model/bpm/1.0"
prefix="bpm" />
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="my.new.model"
prefix="global" />
</namespaces>
<types>
<type name="global:reviewTask">
<parent>bpm:startTask</parent>
<properties>
<property name="global:nurse_id">
<title>Nurse No.</title>
<type>d:int</type>
</property>
</properties>
</type>
</types>
</model>


Please tell me where the problem is.

Thanks in Advance
Subash

Outcomes