From 1e4442c3c8ed3b3d9e6abf7ea48d4541a581b77e Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Sun, 11 Nov 2007 17:09:10 +0000 Subject: [PATCH] [ 1829867 ] Error in BP GardenWorld Workflow --- base/src/org/compiere/wf/MWFProcess.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/wf/MWFProcess.java b/base/src/org/compiere/wf/MWFProcess.java index bff6855f7d..96394ef15f 100644 --- a/base/src/org/compiere/wf/MWFProcess.java +++ b/base/src/org/compiere/wf/MWFProcess.java @@ -442,7 +442,7 @@ public class MWFProcess extends X_AD_WF_Process } // perform /** - * Start WF Execution async + * Start WF Execution * @return true if success */ public boolean startWork() @@ -459,7 +459,9 @@ public class MWFProcess extends X_AD_WF_Process { // Start first Activity with first Node MWFActivity activity = new MWFActivity (this, AD_WF_Node_ID); - new Thread(activity).start(); + //async execution cause problem with transaction + //new Thread(activity).start(); + activity.run(); } catch (Exception e) {