After creating and loading a process definition that contains
a task-node which includes a task, the method
JpdlXmlWriter.toString( procDef )
returns XML that doesn't contain all the elements in the
loaded process definition. Specifically, it drops the
< task > elements.
I also see that it drops < swimlane > elements too.
Am I crazy or is this the way it's supposed to work?
For example:
I load this process definition,
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="http://jbpm.org/3/jpdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"
name="Task">
<start-state name="start">
< transition name="tr1" to="MyTaskNode"></ transition>
</start-state>
<end-state name="end"></end-state>
<task-node name="MyTaskNode">
< task name="MyTask"></ task>
< transition name="tr1" to="end"></ transition>
</task-node>
</process-definition>
and JpdlXmlWriter.toString( procDef ) returns
<?xml version="1.0" encoding="UTF-8"?>
<process-definition name="Task">
<!-- START-STATE -->
<start-state name="start">
< transition to="MyTaskNode" name="tr1"/>
</start-state>
<!-- NODES -->
<end-state name="end"/>
<task-node name="MyTaskNode">
< transition to="end" name="tr1"/>
</task-node>
</process-definition>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916166#3916166
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916166
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user