[JBoss jBPM] - Re: Process state issue
by vinodkv
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="InnerProcess">
| <swimlane name="Roy">
| <assignment actor-id="admin"></assignment>
| </swimlane>
| <start-state name="Start InnerProcess">
| <task swimlane="Roy" name="Start InnerProcess"></task>
| <transition to="Done" name="one"></transition>
| </start-state>
| <task-node name="Done">
| <task swimlane="Roy" name="done"></task>
| <transition to="End" name="inINtaskNode"></transition>
| </task-node>
| <end-state name="End"></end-state>
| </process-definition>
---------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="SubProcess">
| <swimlane name="Initiator">
| <assignment actor-id="admin"></assignment>
| </swimlane>
| <start-state name="Start SubProcess">
| <task swimlane="Initiator" name="Start SubProcess"></task>
| <transition to="InvokeTimeout" name="ok"></transition>
| </start-state>
| <process-state name="InvokeTimeout">
| <sub-process name="InnerProcess"></sub-process>
| <transition to="End"></transition>
| </process-state>
| <end-state name="End"></end-state>
| </process-definition>
---------------------------------------------------------------------------
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169183#4169183
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169183
16 years, 4 months
[JBoss jBPM] - Re: Process state issue
by vinodkv
Thanks for the reply salaboy...
I tried the option of adding the late binding property to the sub process but it does not allow me to deploy the Process after that.
Thanks Ronald .........
I have checked the referencing of the subprocess and it is referencing the correct subprocess. I am also adding both the process definitions and do let me know if there are any changes required in them.
===============================================
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="InnerProcess">
<assignment actor-id="admin">
<start-state name="Start InnerProcess">
</start-state>
<task-node name="Done">
</task-node>
<end-state name="End"></end-state>
</process-definition>
---------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="SubProcess">
<assignment actor-id="admin">
<start-state name="Start SubProcess">
</start-state>
<process-state name="InvokeTimeout">
<sub-process name="InnerProcess"></sub-process>
</process-state>
<end-state name="End"></end-state>
</process-definition>
---------------------------------------------------------------------------
Now using these definitions it goes to the Subprocess but it does not execute it. It waits for it to be signalled and it moves ahead to the next node.
What could be the solution ??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169181#4169181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169181
16 years, 4 months