Sending job queue mail

Automation of email sending at the end of a scheduled process.

Updated at February 5th, 2025

Automation of email sending at the end of a scheduled process.                                                                                                                                                                                                             

Module Description

The feature allows you to set up an automatic email sending at the end of a scheduled process.

You can enable sending for both success and failure of the process by setting specific texts for each queue.

Setup

Job Queue Category

Based on the job queue on which you need to manage this email sending, you can create a category for each one or one for all.

Linked to the job queue category, it is possible to indicate a notification text in case of error and/or one in case of success:

If one of the two fields is left blank, that case will not be handled.

To activate the feature, flag the Automatic email sending field.

Notification texts

To enter a notification text, search the list from the menu or go to the Setup Mail Notification Texts list field.

The list shows all the entered texts.

Use the New function to insert a new one.

In the general tab indicate:

  • Code and description: indicative for text recognition
  • language and All language codes: indicate the text management language in the Language code field. If the text you are inserting is the default text, you can leave the language code = '' and set the All language codes field.
  • Table ID and Type Option table: indicate the starting table and the document type. In this case it is necessary to indicate the Job Queue table (472)
  • Start Date and End Date: Specify dates to limit the use of the text
  • Subject: indicate the subject of the email here, it is possible to use placeholders
  • Automatic process: always activate for automatic management of sending.
  • Attachment: in the 4 attachment fields you can insert default attachments that will be sent every time this type of document is sent

In the lines instead it is possible to insert the text of the email.

Placeholders can also be inserted here.

In the Values and Company Information tabs you can insert the fields that will replace the subject and body placeholders. The fields to choose from will be those of the table indicated in the Table ID field for the Values part while in the Company Information tab they are related, in fact, to the company information table:

In the Setup E-Mail tab you can set the recipient emails and any CC, in these fields you can concatenate with ; even more than one address:

Functionality

After setting the notification mail text at the job queue category level, you need to set the job queue category on the job queue movement table: