Business process designer > BPMN processes > Graphical elements / Email Notification

Email Notification

email-notification-1

In a business process, Email Notification is used when it is necessary to inform someone about the work progress. For instance, you can set up automatic order shipment notifications or send your customer a contract right after it is approved by your legal department. Also, you can use it to let your staff know when they are assigned an important task.

You can use this element only if the administrator has set up the system to send emails.

Set up a notification

Open the process diagram. In the toolbar to the right of the modeling canvas, click the Integrations tab. Drag the Email Notification activity onto the diagram and place it where notifications will need to be sent when the process is executed.

Let’s consider the Order fulfillment process as an example. Once the order is packed and ready to be shipped, we have to notify the customer about it. Let's place the Email Notification element right after the Pick and pack order task.

emna2

Set up the notification. Enter a name and fill out the form:

email_notification_01

  • To*. Specify the address to which the notification should be sent. You can add several addresses, as well as use a context variable, for example, contractor's email. In this case, the system will send the notification to the address specified on the page of the contractor who placed the order. To add a variable, click on the plus symbol + in the right corner of the field.
  • Sender name. Fill in this field if you want notifications to come not from the address specified in the system settings, but, for example, from ELMA365 or your company name.
  • Reply address. Specify the address to which you want to receive replies. By default, replies are sent to the address specified in system settings.
  • Subject*. Enter a short and informative subject, for instance, Order is packed and awaiting shipment. Use a context variable to add the order's number if necessary. To add a variable, click on the plus symbol + in the right corner of the field. If you wish, you can add conditions and functions as for the name of the template item. This will allow you to generate a more informative email subject.
  • Message*. Enter all the necessary details. Using process variables, you can add a list of purchased products, the total cost, the expected delivery date, and so on. To add a variable, click on the plus symbol + in the right corner of the field. You can also add a condition or function in the same way as in the Subject* field. If you want to apply formatting, use HTML tags.
  • File. Add one or several documents used in the order fulfillment process, for example, the packing slip and the invoice.

Error handling

An error may occur when sending the notification, for example, if ELMA365 fails to determine the recipient's address. Decide how the system should behave in this case. Go to the Error Handling tab.

Go to the Error handling tab.

emna4

  • Retry. Enable this option if you want the system to try sending the notification again.
    • Number of retries. How many attempts should the system make.
    • Retry delay (sec). The amount of time the system should wait between attempts.
  • Notification. Select this option to inform particular users about the error. You can select between:
    • Current executor, that is, the person who completed the task preceding the Email Notification element on the process diagram;
    • Context variable, for example, the Initiator;
    • Group;
    • Org chart item.
  • Interrupt. In case of an error, the process go through the selected connector,

After you specify all the settings, click Save and publish the process.

Once the order is packed and ready for shipment, a notification will be sent to the customer's email. Here is how it might look:

07.PNG

Found a typo? Highlight the text, press ctrl + enter and notify us