Email Notifications

Ensure approvers are notified by email when they need to approve, reject, or cancel documents in Expense Management or in the Continia Web Approval Portal. You can notify approvers manually or automatically, using job queues, you can also customize the outgoing notification emails.

Pre requisites

Before Expense Management can send notification emails, you must first configure an email account. To configure an email account with Expense Management:

  1. In Expense Management, search Search for Set up email, then choose the related link.
  2. Follow the on-screen instructions of the assisted setup guide to configure the email account.

Sending status emails manually

You can send status emails ad-hoc to all approvers that have pending approval requests whenever you need to notify them about documents pending their approval. Each status email includes a table listing all documents pending their approval and a link to the approval client which details all of their remaining approval requests for the day.

Prior to sending out status emails, ensure all email recipients are set up so they can approve documents in Expense Management or in the Web Approval Portal, see Expense User Setup for Expense Management.

To manually send status emails:

  1. Search Search for Send Status email to Approvers.
  2. Select Send Status email to Approvers (Expense Management).

The approval client then displays all remaining approval requests not yet handled for the day.

To determine when to send out additional notifications, Expense Management logs when a status email is sent to an approver. The first status email of the day (manual or automatic), contains all documents pending approval from the approver. Any subsequent emails sent to the approver that day are for new approval requests that were added after the first email was sent.

Sending status emails using job queues

By design, Expense Management doesn't support standard Microsoft Dynamics NAV/Business Central notifications. However, you can send status emails to approvers automatically using job queues.

To have Expense Management send status emails to approvers automatically:

  1. See Setting up Job Queues and work through the steps.
  2. In the Object ID to Run field, enter codeunit 6086313 to set up a status email job queue.
  3. Set the recurrence rate to run, every 10-15 minutes.

The codeunit only sends out notification emails whenever a new approval entry has been created. This ensures approvers are always up to date with new approval entries. In case of no new approval entries, no email is sent for 24 hours.

Each status email includes a table listing all documents pending their approval and a link to the approval client which details all of their remaining approval requests for the day.

Prior to automating status emails, ensure all email recipients are set up so they can approve documents in Expense Management or in the Web Approval Portal, see Expense User Setup for Expense Management.

Customizing notification emails

You can customize elements of emails sent to approvers, such as the default subject line and the text they contain.

To customize notification emails:

  1. Search Search for Expense Management Setup, then choose the related link.

  2. You can change the subject line of notification emails, under Email > Reminder Email.

  3. Select Approval Email Subject, then enter the text for the email subject.

Importing custom templates

You can import a custom HTML template on the action bar.

  1. Select Actions > Email > Import Approval Template.
  2. Open the HTML template you want to import.
  3. When you create a custom template, you must keep the two keywords #DOCUMENTS# and #APPROVALFORMLINK# as Expense Management replaces them with a list of all relevant documents for approval and a link to the relevant approval client.

Tip

Your Expense Management installation package includes a status email HTML template. You can edit and use it as a basis for your own custom template. Go to: [drive]\Support Files\Document Capture\Other.

When to use the default template

If you don't import your own custom HTML template, Expense Management will use the default template, which is hardcoded in a text variable in the CEM Expense Approval E-mail codeunit.

If a custom template has been previously been imported but you want to use the default template instead, you can delete the imported template.

To delete an imported template:

  1. On the Expense Management Setup page, on the action bar, select Actions > Email > Delete Approval Template, (only visible if a template has been imported).
  2. A dialog box asks if you want to delete the template. Select Yes to delete the previously imported template and revert to the default.

See also

For further information relating to this article, see:

Expense User Setup for Expense Management

Setting up Job Queues