maintool can automatically send emails for certain events in work order management, for example when a work order request is registered or a work order receives a new status. This way, the people involved learn directly that they need to act or how far their request has progressed. This article describes when maintool sends emails and what you need to set up for this.
When does maintool send emails?
maintool sends short text emails using the email account set up in Business Central:
| Event | Recipient | Content |
| A work order request is registered. | The person who is assigned to the responsible department of the request in the Responsible for Department field on the User Setup page. | Subject: number of the request and description of the work order category. Text: description of the request. |
| A work order request is posted. | The person who registered the request (Registered from). | The request has been posted, with the number of the work order created from it, if any. |
| A work order changes to a status for which emails are set up. | Depending on the setup of the status: the person in charge, the person responsible for the responsible department and/or the people who registered the underlying work order requests. | Number of the work order and new status. When changing to Execution, the email also names the person in charge or the responsible department. |
maintool only sends emails for documents whose work order category allows it (Send E-Mail). Documents without a work order category never trigger an email.
Prerequisites
- An email account is set up in Business Central (Email Accounts page) that maintool can use to send the emails.
- For all recipients, there is an entry with an email address on the User Setup page.
Set up email notifications
- Enable sending per work order category: Open the Work Order Categories page and enable Send E-Mail for all categories for which emails are to be sent. As long as the switch is off, maintool does not send emails for documents of this category. See Set up work order categories.
- Maintain email addresses: Open the User Setup page and enter the address in the Email field for each recipient.
- Specify responsible persons for departments: On the User Setup page, select the department (resource group) the user is responsible for in the Responsible for Department field. Specify exactly one user per department: if there are several, only the first user in the order of the user ID receives the email.
- Link persons in charge to users: Open the resource card of each person in charge and enter the corresponding Business Central user in the User ID field on the collana maintool FastTab. maintool reads the email address from User Setup for this user.
- Specify recipients per work order status: In the Work Order Status Setup, specify for each status who receives an email when a work order changes to this status: Send E-Mail to Person in Charge, Send E-Mail to Resp. for Department and/or Send E-Mail to Registered from. See Set up work order statuses.
For the emails for work order requests (registering and posting), steps 1 to 3 are sufficient. The settings in the Work Order Status Setup only apply to work orders.
If sending is enabled but required information is missing, maintool stops the process with an error message. The status is then not changed, or the request is not registered or posted. Missing information is, for example, no email address in User Setup, no responsible department in the work order although the status provides for an email to the department, no user with Responsible for Department for the department, or no User ID on the resource of the person in charge. Add the information and repeat the process.
Things to keep in mind
- When a work order request is registered, maintool only sends an email if a responsible department is entered in the request.
- If a person in charge is entered in the work order, this person always needs a User ID with an email address when changing to Execution, as soon as the work order category allows sending. This also applies if the status itself does not provide for an email to the person in charge.
- With Send E-Mail to Registered from, each person who registered one of the work order requests of the work order receives a separate email.
- maintool creates the subject and text in the language of the user who triggers the process.
- You can find sent emails on the Sent Emails page, emails that were not sent on the Email Outbox page.
Related articles
Related to