[ 1854603 ] Prepare method is being called twice
Make main and children workflows run in the same thread as the window caller
This commit is contained in:
parent
d7c31694e4
commit
c722164b1f
|
@ -459,11 +459,14 @@ public class MWFProcess extends X_AD_WF_Process
|
|||
{
|
||||
// Start first Activity with first Node
|
||||
MWFActivity activity = new MWFActivity (this, AD_WF_Node_ID);
|
||||
Thread workerWF = new Thread(activity);
|
||||
workerWF.setName(activity.getAD_Workflow().getName() + " "
|
||||
+ activity.getAD_Table().getName() + " "
|
||||
+ activity.getRecord_ID());
|
||||
workerWF.start();
|
||||
//
|
||||
// Thread workerWF = new Thread(activity);
|
||||
// workerWF.setName(activity.getAD_Workflow().getName() + " "
|
||||
// + activity.getAD_Table().getName() + " "
|
||||
// + activity.getRecord_ID());
|
||||
// workerWF.start();
|
||||
activity.run();
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue