IDEMPIERE-5130 Set process summary as workflow activity message (#1098)

This commit is contained in:
Carlos Ruiz 2021-12-31 09:21:24 +01:00 committed by GitHub
parent b1446ecf65
commit 141f608a63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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;