Hi all,

is it possible to send an email to a hole user group with the email plugin ?

with something else ?

I would like to send email notifications to each person who's assigned an activity, maybe there is a simpler way than using the email plugin before each new assignment, any idea ?

thanks,

Antoine

  • No labels

2 Comments

  1. The User Notifiication Plugin is doing this, to automatically send an email notification when a new assignment is created.

    1. Hi,

      it looks like it is exactly what I'm looking for !

      I tried to use the user notification plugin but it doesn't seems to work...

      here is the log I have :

      INFO  21 Jul 2011 11:51:25 org.joget.workflow.shark.WorkflowAssignmentManager  -
       [processId=2105_IT_expenses, processDefId=IT#21#expenses, participantId=request
      or, next user=[admin]]
      INFO  21 Jul 2011 11:51:29 org.joget.plugin.notification.UserNotificationPlugin$
      1  - Users to notify: [admin]
      ERROR 21 Jul 2011 11:52:29 org.joget.form.util.FileUtil  - java.lang.IllegalStat
      eException: File has been moved - cannot be read again
      java.lang.IllegalStateException: File has been moved - cannot be read again
              at org.springframework.web.multipart.commons.CommonsMultipartFile.getByt
      es(CommonsMultipartFile.java:112)
              at org.joget.form.util.FileUtil.storeFile(FileUtil.java:29)
              at org.joget.form.model.FormFacade.saveFormSubmittedData(FormFacade.java
      :130)
              at org.joget.form.web.FormController.submit(FormController.java:225)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.
      doInvokeMethod(HandlerMethodInvoker.java:413)
              at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.
      invokeHandlerMethod(HandlerMethodInvoker.java:134)
              at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandle
      rAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:310)
              at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandle
      rAdapter.handle(AnnotationMethodHandlerAdapter.java:297)
              at org.joget.commons.spring.web.ParameterizedAnnotationMethodHandlerAdap
      ter.handle(ParameterizedAnnotationMethodHandlerAdapter.java:30)
              at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
      erServlet.java:875)
              at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
      rServlet.java:809)
              at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
      workServlet.java:571)
              at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ
      let.java:511)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:359)
              at org.springframework.security.intercept.web.FilterSecurityInterceptor.
      invoke(FilterSecurityInterceptor.java:109)
              at org.springframework.security.intercept.web.FilterSecurityInterceptor.
      doFilter(FilterSecurityInterceptor.java:83)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.ui.SessionFixationProtectionFilter.doFil
      terHttp(SessionFixationProtectionFilter.java:67)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.joget.workflow.security.WorkflowNtlmProcessingFilter.doFilterHttp
      (WorkflowNtlmProcessingFilter.java:52)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHt
      tp(ExceptionTranslationFilter.java:101)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.providers.anonymous.AnonymousProcessingF
      ilter.doFilterHttp(AnonymousProcessingFilter.java:105)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp
      (AbstractProcessingFilter.java:271)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp
      (AbstractProcessingFilter.java:271)
              at org.joget.workflow.security.WorkflowHttpAuthProcessingFilter.doFilter
      Http(WorkflowHttpAuthProcessingFilter.java:39)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(Logo
      utFilter.java:89)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.context.HttpSessionContextIntegrationFil
      ter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
              at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringS
      ecurityFilter.java:53)
              at org.springframework.security.util.FilterChainProxy$VirtualFilterChain
      .doFilter(FilterChainProxy.java:371)
              at org.springframework.security.util.FilterChainProxy.doFilter(FilterCha
      inProxy.java:174)
              at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(D
      elegatingFilterProxy.java:236)
              at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegat
      ingFilterProxy.java:167)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
              at org.springframework.web.filter.CharacterEncodingFilter.doFilterIntern
      al(CharacterEncodingFilter.java:96)
              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
      equestFilter.java:76)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:233)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:191)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:128)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:286)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :845)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
      ss(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
      7)
              at java.lang.Thread.run(Thread.java:619)
      INFO  21 Jul 2011 11:52:29 org.joget.form.util.DynamicLocalSessionFactoryBean  -
       Building new Hibernate SessionFactory
      INFO  21 Jul 2011 11:52:30 org.joget.form.util.DynamicLocalSessionFactoryBean  -
       Building new Hibernate SessionFactory
      WARN  21 Jul 2011 11:52:30 org.joget.workflow.shark.WorkflowToolActivityHandler
       - Plugin not mapped for [processId=IT#21#expenses, version= 21, activityId=calc
      ulate_infos]
      INFO  21 Jul 2011 11:52:30 org.joget.workflow.shark.WorkflowAssignmentManager  -
       [processId=2105_IT_expenses, processDefId=IT#21#expenses, participantId=lm, nex
      t user=[admin, cat, clark]]
      INFO  21 Jul 2011 11:52:30 org.joget.workflow.controller.WorkflowJsonController
       - Assignment 2610_2105_IT_expenses_fill_expanses_form completed
      INFO  21 Jul 2011 11:52:34 org.joget.plugin.notification.UserNotificationPlugin$
      1  - Users to notify: [admin, cat, clark]

      I configured the user notification plugin exactly like the email plugin (mail server, port and authentification).

      Is there something else to do ? Something I did wrong ?

      What is the problem here ?

      thanks,

      Antoine