if I have more than two users, in many different places that use a single workflow, but i just want one of them who receive notification via email and only the user that runs the process.

because each user that the intent here is that users who join a group in active directory, what should be done by me so that other users do not receive any notification in joget workflow and settings, tnx.

  • No labels

6 Comments

  1. When you're configuring the email message recipient in Email Plugin, you can use the #performer.activityDefId.email# Hash Variable, so that the email is sent to the person who performed a targeted activity.

    Another plugin - User Notification Plugin, is the one that sends email notification for all new tasks / assignments created. If you prefer not to have such a behavior in the system, you could consider removing this plugin from Joget Workflow

    1. If  in one easy activity workflow,

      Costumer service (one form) to the IT Department (sub form and another  form by this department) and finish with Email notification (tools)

      In email notification is to :

      - Branch

      - Department  1 and 2

      - The Client ( this is the part my question )

      The scenario is :

      After costumer service complete task with a form to IT department , then on one type of notification fixed on a form filled by costumer service is a email address (client email)

      then the second form which is run by the IT department, there is the same email address (client email ) as the customer service form, after the person in IT department Complete task ,

      notification will be sent in accordance with the contents of the email address on the form, which an email address someone in addressed here,  is not located in my active directory, but just based on the form in content.

      what should I change and add on any part of this to happen, and the types of enhancements are?

      1. Hi,

        If the email address was filled in a previous activity form, you can get your data by using Hash Variable too. The syntax is #form.formDataTableName.fieldName#. 

  2. hi i got issues with email plug in... anyone can help... it cant send out any email...

    the error as below:-

    INFO 31 May 2011 03:32:13 org.joget.plugin.email.EmailPlugin$1 - EmailPlugin:
    Sending email from=kelvin@dsop.com.my, to=cc=kelvin@dsop.com.my, subject=leave r
    eject
    INFO 31 May 2011 03:32:13 org.joget.workflow.controller.WorkflowJsonController

    • Assignment 202_201_testleave_newpkg1_wp1_validate completed
      ERROR 31 May 2011 03:32:34 org.joget.plugin.email.EmailPlugin$1 - org.apache.co
      mmons.mail.EmailException: Sending the email to the following server failed : ma
      il.dsop.com.my:25
      org.apache.commons.mail.EmailException: Sending the email to the following serve
      r failed : mail.dsop.com.my:25
      at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1138)
      at org.apache.commons.mail.Email.send(Email.java:1163)
      at org.joget.plugin.email.EmailPlugin$1.run(EmailPlugin.java:146)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: javax.mail.MessagingException: Could not connect to SMTP host: mail.d
      sop.com.my, port: 25;
      nested exception is:
      java.net.ConnectException: Connection timed out: connect
      at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
      at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:37
      0)
      at javax.mail.Service.connect(Service.java:297)
      at javax.mail.Service.connect(Service.java:156)
      at javax.mail.Service.connect(Service.java:105)
      at javax.mail.Transport.send0(Transport.java:168)
      at javax.mail.Transport.send(Transport.java:98)
      at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1128)
      ... 3 more
      Caused by: java.net.ConnectException: Connection timed out: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      at java.net.Socket.connect(Socket.java:519)
      at java.net.Socket.connect(Socket.java:469)
      at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
      at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
      at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
      ... 10 more
    1. Hey Kelvin!

      Nice to meet you the other day.

      Hope this little error would not scare you away from continuing to try out Joget! You are getting this error because your SMTP server is not configured properly. Try to configure it again and see. Hope it helps!

      ERROR 31 May 2011 03:32:34 org.joget.plugin.email.EmailPlugin$1  \- org.apache.co
      mmons.mail.EmailException: Sending the email to the following server failed : ma
      il.dsop.com.my:25
      org.apache.commons.mail.EmailException: Sending the email to the following serve
      r failed : mail.dsop.com.my:25
              at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1138)
              at org.apache.commons.mail.Email.send(Email.java:1163)
              at org.joget.plugin.email.EmailPlugin$1.run(EmailPlugin.java:146)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: javax.mail.MessagingException: Could not connect to SMTP host: mail.dsop.com.my, port: 25;
        nested exception is:
              java.net.ConnectException: Connection timed out: connect
              at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
              at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:37
      0)