You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2009/06/20 15:30:28 UTC

svn commit: r786816 - /ofbiz/trunk/applications/commonext/servicedef/secas.xml

Author: hansbak
Date: Sat Jun 20 13:30:28 2009
New Revision: 786816

URL: http://svn.apache.org/viewvc?rev=786816&view=rev
Log:
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>