diff --git a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java index 07f563cac9..d5ada0ce38 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java @@ -204,7 +204,12 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable setEndWaitTime(new Timestamp(limitMS + System.currentTimeMillis())); // Responsible setResponsible(process); - saveEx(); + try { + PO.setCrossTenantSafe(); + saveEx(); + } finally { + PO.clearCrossTenantSafe(); + } // m_audit = new MWFEventAudit(this); m_audit.setAD_Org_ID(getAD_Org_ID());//Add by Hideaki Hagiwara