IDEMPIERE-3924 Implement EventHandler for pre/after/post processes / adding suggestion from Hiep

This commit is contained in:
Carlos Ruiz 2019-04-05 15:54:31 +02:00
parent 29a52d89e7
commit caaffcdbbc
1 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,8 @@ public abstract class SvrProcess implements ProcessCall
Event event = EventManager.newEvent(topic,
new EventProperty(EventManager.EVENT_DATA, m_pi),
new EventProperty("processUUID", m_pi.getAD_Process_UU()),
new EventProperty("className", m_pi.getClassName()));
new EventProperty("className", m_pi.getClassName()),
new EventProperty("processClassName", this.getClass().getName()));
EventManager.getInstance().sendEvent(event);
return event;
}