And here is an example of a business process definition:
<process-definition name="OrderManagement">
| <start-state>
| <transition to="decide"/>
| </start-state>
|
| <decision name="decide" expression="#{orderApproval.howLargeIsOrder}">
| <transition name="large order" to="approval"/>
| <transition name="small order" to="process"/>
| </decision>
|
| <task-node name="approval">
| <task name="approve">
| <assignment pooled-actors="reviewers" />
| </task>
| <transition name="approve" to="process"/>
| <transition name="reject" to="complete"/>
| </task-node>
|
| <task-node name="process">
| <task name="ship">
| <assignment pooled-actors="#{shipperAssignment.pooledActors}" />
| </task>
| <transition name="shipped" to="complete">
| <action expression="#{afterShipping.log}"/>
| </transition>
| </task-node>
|
| <end-state name="complete"/>
| </process-definition>
See how we are using basically the same language for orchestrating
conversational user interactions as for orchestrating long-running, persistent,
multi-user business processes.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915341#3915341
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915341
-------------------------------------------------------
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