Retail and CommerceRetail and Commerce ITEmail and notifications
RetailEventNotificationProcessor
Used by
Retail operations manager, Retail service
Business process
Create B2C eCommerce sales channel in Dynamics 365 Commerce
Menu item
RetailEventNotificationProcessor
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Order confirmation email is sent”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A page that sets up the Process retail order email notification batch job, which sends transactional order emails to customers.
What you do here
Use this page to schedule the job that sends order notification emails (such as order created, packed or invoiced) defined in the email notification profile.
Example
For example, BEAT schedules the job every minute. A web order confirmed at 10:02 gets its Order confirmed email by about 10:03, and the log shows it as sent.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
When to run it
When to run it
When you start sending transactional order emails from a channel, and again whenever the job has to be recreated, for example after you enable optimized notification processing on headquarters older than 10.0.31.
How often
Continuously: Microsoft recommends a recurrence of every 1 minute with no end date.
Batch settings
One recurring batch job with no end date that repeats every minute, so emails for new order events go out within minutes.
What the output shows
Emails to customers for each active notification type in the email notification profile, such as order created, order confirmed, packing completed or order invoiced, each with an entry in the email notification logs. When customers get no email, the job has usually stopped, the notification type isn't active, or the type has no email template.
Send the transactional order emails set up in the email notification profiles.
Steps from Microsoft
Go to Retail and Commerce > Retail and Commerce IT > Email and notifications > Send email notification.
Before you schedule the job, make sure the channel (or Commerce parameters > General) has an active email notification profile whose notification types each point to an organization email template. The job only sends emails for those types.
In the Process retail order email notification dialog, select Recurrence and then No end date, so the job keeps running.
Under Recurrence pattern, select Minutes and set Count to 1, so new order events are emailed as quickly as possible.
If you turn on the Optimized order notifications processing feature, the job runs several tasks in parallel. On headquarters older than 10.0.31, first delete the running job under System administration > Inquiries > Batch jobs and then create it again here.
Confirm both dialogs, then create a test order in the channel and check that the customer receives the order created email.
Before 10.0.31, the optimized feature doesn't speed up sending
On headquarters versions older than 10.0.31, delete the running Process retail order email notification batch job and create it again after turning on the feature. Microsoft Learn
Test checklist
A test sales order in a channel with an active notification profile triggers the order created email.
The email notification logs show the email as sent successfully.
The batch job repeats every minute and has no end date.
Schedule Send email notification with no end date, recurring every 1 minute.Order emails are only sent while the Process retail order email notification job runs; a 1-minute recurrence sends them as fast as possible.
Per company: the notifications it sends are logged per legal entity in the Commerce email notification log. Microsoft data model
Can it be undone
Irreversible: A sent email can't be recalled.
If you change it later
Sends order emails to customers and writes email notification log entries. On headquarters versions older than 10.0.31, turning on optimized notification processing requires deleting and recreating this batch job. Microsoft Learn
Technical architect
6Technical
Menu item
RetailEventNotificationProcessorChecked in Dynamics 365
Form
DialogChecked in Dynamics 365
Who can open it
2 security roles. Select a role to see its duties and privileges.
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itRetail service RetailServiceRetail operations manager RetailOperationsManagerGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Load order: Send email notification has no data entity in Data management, so it can't be loaded from a file or a configuration template. It works on data that is already in the system, so there is nothing to load.Checked in Dynamics 365
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page.
To cite this step: RC-ITJ-080, Run the order email notification job every minute. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-ITJ-080