Author: hansbak
Date: Sat Jun 20 13:30:28 2009
New Revision: 786816
URL:
http://svn.apache.org/viewvc?rev=786816&view=revLog:
generate a system note by incoming email
Modified:
ofbiz/trunk/applications/commonext/servicedef/secas.xml
Modified: ofbiz/trunk/applications/commonext/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/servicedef/secas.xml?rev=786816&r1=786815&r2=786816&view=diff==============================================================================
--- ofbiz/trunk/applications/commonext/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/commonext/servicedef/secas.xml Sat Jun 20 13:30:28 2009
@@ -20,10 +20,18 @@
<service-eca xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="
http://ofbiz.apache.org/dtds/service-eca.xsd">
+ <!-- update existing comm events into status: entered-->
<eca service="setCommunicationEventStatus" event="commit">
<condition field-name="statusId" operator="equals" value="COM_ENTERED"/>
<set field-name="entityName" value="CommunicationEvent"/>
<set field-name="entityNameId" env-name="communicationEventId"/>
<action service="createSystemInfoNote" mode="sync"/>
</eca>
+ <!-- creation comm events with status entered -->
+ <eca service="createCommunicationEvent" event="commit">
+ <condition field-name="statusId" operator="equals" value="COM_ENTERED"/>
+ <set field-name="entityName" value="CommunicationEvent"/>
+ <set field-name="entityNameId" env-name="communicationEventId"/>
+ <action service="createSystemInfoNote" mode="sync"/>
+ </eca>
</service-eca>