Skip to content

Commit

Permalink
- Fixed race condition bug
Browse files Browse the repository at this point in the history
  • Loading branch information
esteban-aliverti committed Feb 11, 2012
1 parent 16ad309 commit 28603d5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ rule "Select Person Tagger"
System.out.println("EAA");
((WorkflowProcessInstance)kcontext.getKnowledgeRuntime().getProcessInstance($process.getId())).setVariable("selectedSubProcessId","org.plugtree.training.jbpm.persontaggerprocess");
retract($p);
retract($process);
end

rule "Select Car Tagger"
Expand All @@ -24,4 +25,5 @@ rule "Select Car Tagger"
then
((WorkflowProcessInstance)kcontext.getKnowledgeRuntime().getProcessInstance($process.getId())).setVariable("selectedSubProcessId","org.plugtree.training.jbpm.cartaggerprocess");
retract($c);
retract($process);
end

0 comments on commit 28603d5

Please sign in to comment.