jbpm - How to relate the <decision> and <state> in JPDL in JBPM4 to BPMN2.0 in JBPM7? -


i have simple 3 steps process definition have defined in jpdl jbpm4.3, , remodel using bpmn2 in jbpm7 have problem trying so. example, have jpdl looks (i simplified actual 1 quite complex):

<?xml version="1.0" encoding="utf-8"?> <process key="process_external_response" name="process_external_response" xmlns="http://jbpm.org/4.2/jpdl">     <start g="66,20,48,48">         <transition to="send_and_wait"/>     </start>     <state g="662,145,80,40" name="send_and_wait" continue="async" class="com.examples.sendandwaitstatehandler">         <transition g="-79,-18" name="completed" to="process_response"/>         <transition g="-85,-25" name="error" to="error_and_abort" />     </state>     <decision g="673,346,80,40" name="process_response" continue="async">         <handler class="com.examples.processresponsestatehandler">         </handler>         <transition g="-79,-18" name="completed" to="end"/>         <transition g="-79,-18" name="error" to="error_and_abort"/>     </decision>     <state g="501,345,92,52" name="error_and_abort" class="com.examples.abortstatehandler" continue="async">         <transition g="-45,-18" name="retry" to="send_and_wait"/>         <transition g="-45,-18" name="abort" to="end"/>     </state>     <end g="391,494,48,48" name="end"/>  </process> 

basically, when process starts, creates request , send external system. then, goes wait state wait response. once got response, processes response , make decision if should proceed or error out. in event of error, process transition "error , abort" wait state user or timer can send signal "retry" application transition "send_and_wait" state again.how model using bpmn2.0 in jbpm7?

enter image description here

from understanding, may this... please clarify whether helps or not or put comment if not expect


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -