Fixed: Fix cast error at CommunicationEventServices.groovy (OFBIZ-12801)

Service implementation should return a Map, since `return success()` was
misplaced within `.each`, it is ignored, and the `communicationEvents` List was
returned instead.

Thanks, Jacques for spotting and Daniel for the analysis
diff --git a/applications/party/groovyScripts/communication/CommunicationEventServices.groovy b/applications/party/groovyScripts/communication/CommunicationEventServices.groovy
index 1ff1b62..dc45a4e 100644
--- a/applications/party/groovyScripts/communication/CommunicationEventServices.groovy
+++ b/applications/party/groovyScripts/communication/CommunicationEventServices.groovy
@@ -501,8 +501,8 @@
         Map updCommEventStatusMap = [*:communicationEvent]
         updCommEventStatusMap.statusId = 'COM_COMPLETE'
         run service: 'setCommunicationEventStatus', with: updCommEventStatusMap
-        return success()
     }
+    return success()
 }
 
 /**