From 141f608a63662007242324c54f732536ad26b212 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 31 Dec 2021 09:21:24 +0100 Subject: [PATCH] IDEMPIERE-5130 Set process summary as workflow activity message (#1098) --- org.adempiere.base/src/org/compiere/wf/MWFActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java index 8c7e0600e4..3a16857d90 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWFActivity.java +++ b/org.adempiere.base/src/org/compiere/wf/MWFActivity.java @@ -1169,7 +1169,9 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable pi.setAD_User_ID(getAD_User_ID()); pi.setAD_Client_ID(getAD_Client_ID()); pi.setAD_PInstance_ID(pInstance.getAD_PInstance_ID()); - return process.processItWithoutTrxClose(pi, trx); + boolean success = process.processItWithoutTrxClose(pi, trx); + setTextMsg(pi.getSummary()); + return success; } /****** Start Task (Probably redundant;