JBoss Community

Re: Got xml validation error while call NewDeployment deploy method

created by Bo meng in jBPM - View the full discussion

Hi ,

 

I can also make a deploy using below file

<?xml version="1.0" encoding="UTF-8"?>
<process name="retrieveCatalog" xmlns="http://jbpm.org/4.0/jpdl">
<start>
  <transition to="retreiveCatalogRequest"/>
</start>

<custom name="retreiveCatalogRequest" class="com.points.services.workflow.activity.MakeServiceRequest">
 
  <property name="requestData">
   <map>
    <entry>
     <key><string value="application"/></key>
     <value><string value="magazine"/></value>
    </entry>
   
   </map>
  </property>
 

  <transition to="retreiveCatalogEnd"/>
</custom>

 

<end name="retreiveCatalogEnd"/>
</process>

 

You can see I changed <value><string value="magazine"/></value>. I checked C:\jbpm-4.0\doc\schemadocs\index.html and it looks like I can use "object" in the value element.

Actually it works while we used jbpm 4.0-cr1.

I do not know why it complain in the jbpm 4.0

 

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community