Fork problems and human tasks
rocknfra Jun 2, 2011 4:46 AMhi, I'm going mad trying to do a thing with seam and jbpm.. It's 2 days I hit my head on it, google around and read forums.. no way
I defined a simple process that after starting needs to fork in 3 human tasks, two of them need to join after both have been completed and the third should join with the others later on the flow...
Sometimes I manage to have 3 tasks generated for the 3 different actors but they never join after ending and the flow stucks... Other times I've got just one task at a time, so until an actor hasn't finished his task the others couldn't work on theirs..
I'm not sure fork is the answer here but I really tried the world....
If someone would kindly help me, here is my process definition...
<process-definition name="registration_ti" xmlns="urn:jbpm.org:jpdl-3.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jbpm.org:jpdl-3.2 http://jbpm.org/xsd/jpdl-3.2.xsd">
<start-state name="start">
<transition to="new-developer-fork" />
</start-state>
<fork name="new-developer-fork">
<transition to="generate-assets"/>
<transition to="antifraud-check" />
<transition to="payment-verification" />
</fork>
<task-node name="antifraud-check">
<task name="antifraud-check-user">
<assignment actor-id="AFRD" />
</task>
<transition to="join-fraud-payment-verified" name="antifraud-check-ok" />
<transition to="end" name="antifraud-check-denied" />
</task-node>
<task-node name="payment-verification">
<task name="payment-verification-user">
<assignment actor-id="OPR" />
</task>
<transition to="join-fraud-payment-verified" name="payment-verification-ok" />
<transition to="end" name="payment-verification-denied" />
</task-node>
<task-node name="generate-assets">
<task name="generate-assets-user">
<assignment actor-id="ING" />
</task>
<transition to="join-user-complete" name="assets-generated" />
<transition to="end" name="denied" />
</task-node>
<join name="join-fraud-payment-verified" >
<transition to="add-sap-data" />
</join>
<task-node name="add-sap-data">
<task name="add-sap-data-user">
<assignment actor-id="OPR" />
</task>
<transition to="join-user-complete" />
</task-node>
<join name="join-user-complete" >
<transition to="check-sap-data" />
</join>
<task-node name="check-sap-data" >
<transition to="end" />
</task-node>
<end-state name="end" />
</process-definition>
Thank you in advance