[jboss-user] [JBoss jBPM] - Re: Problem using jbpm server with fuzzy logic library
jfrancoisl
do-not-reply at jboss.com
Fri Apr 27 04:44:20 EDT 2007
The XML file:
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.1" name="EmergencyWorkflow">
| <swimlane name="swimlane1"></swimlane>
| <start-state name="Emergency Situation">
| <task name="Emergency" swimlane="swimlane1">
| <controller>
| <variable name="Event" access="read,write,required"></variable>
| </controller>
| </task>
| <transition name="Go to Mayor" to="AlertMayor"></transition>
| </start-state>
| <task-node name="Analyse Gravity">
| <task name="Get Details" swimlane="swimlane1">
| <controller>
| <variable name="Wounded" access="read,write,required"></variable>
| <variable name="Proximity of residence" access="read,write,required"></variable>
| <variable name="Accessibility" access="read,write,required"></variable>
| <variable name="Hazmats" access="read,write,required"></variable>
| <variable name="Temperature" access="read,write,required"></variable>
| <variable name="Size of fire" access="read,write,required"></variable>
| <variable name="Fire state (under control?)" access="read,write,required"></variable>
| </controller>
| </task>
| <transition name="" to="Get %"></transition>
| </task-node>
| <state name="Fix Locally">
| <transition name="" to="Gather Information"></transition>
| </state>
| <state name="Call Prefet">
| <transition name="" to="end1"></transition>
| </state>
| <end-state name="end1"></end-state>
| <task-node name="Gather Information">
| <task name="Gather Info" swimlane="swimlane1">
| <controller>
| <variable name="Other info..." access="read"></variable>
| </controller>
| </task>
| <transition name="tr6" to="fork1"></transition>
| </task-node>
| <task-node name="Results">
| <transition name="" to="end1"></transition>
| </task-node>
| <task-node name="Get %">
| <task name="Recommended decision" swimlane="swimlane1">
| <controller>
| <variable name="Keep Local" access="read"></variable>
| <variable name="Contact Préfet" access="read"></variable>
| </controller>
| </task>
| <event type="node-enter">
| <action name="action1" class="evalFuzzy.ActionButton"></action>
| </event>
| <transition name="Keep Local" to="Fix Locally"></transition>
| <transition name="Contact higher authorities" to="Call Prefet"></transition>
| </task-node>
| <node name="AlertMayor">
| <transition name="Go To Gravity" to="Analyse Gravity"></transition>
| </node>
| <task-node name="Police">
| <transition name="" to="join1"></transition>
| </task-node>
| <task-node name="Médias">
| <transition name="" to="join1"></transition>
| </task-node>
| <task-node name="Samu">
| <transition name="" to="join1"></transition>
| </task-node>
| <task-node name="Firefighters">
| <transition name="" to="join1"></transition>
| </task-node>
| <task-node name="Civil Security">
| <transition name="" to="join1"></transition>
| </task-node>
| <join name="join1">
| <transition name="" to="Results"></transition>
| </join>
| <fork name="fork1">
| <transition name="" to="Police"></transition>
| <transition name="tr2" to="Médias"></transition>
| <transition name="tr3" to="Samu"></transition>
| <transition name="tr4" to="Firefighters"></transition>
| <transition name="tr5" to="Civil Security"></transition>
| </fork>
| </process-definition>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041297#4041297
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041297
More information about the jboss-user
mailing list