Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Send email base on action

Posted on by 340

Hello, 

dynamics 365 sends email when an action is performed. We set I think either a rule or workflow for those emails to take place. Some of the rules or workflow are in each of the entities. How can I view those those rules or workflow because some of the logics are not correct when it sends it out ? 

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Send email base on action

    Hi partner,

    It is not that the system log will be generated as long as the email is sent. The email that has to be sent through the workflow or automatic creation will be displayed in the system log, and the name of the log may not be related to the email, you need to click in to check if there are any actions in the workflow that sent the email.

    If I send an email normally, it won't appear in the system log. As follows.

    pastedimage1573438638439v1.png    pastedimage1573438667986v2.png

    Only when an email is generated through an automated process such as a workflow, the email-related process will appear in the system log.

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Send email base on action

    Hi partner,

    First of all, please tell me the app you are using.

    According to your previous themes, your D365 environment is inconsistent with the standard CRM.

    To go to the workflow, please follow the screenshots below.

    If you are using the unified interface.

    1) Click on Advanced Settings in the top right corner, then click Processes.

    pastedimage1573436970460v1.png    pastedimage1573437028234v2.png

    2) Click New, select Category as Workflow. Then enter Process name and select Entity, you can create a new workflow.

    pastedimage1573437174159v3.png    pastedimage1573437296777v4.png

    If you are using web client (Classic UI).

    Go to Dynamics 365 - custom app, then turn to site map, click Settings, then click Processes. The remaining steps are the same as above.

    pastedimage1573437600569v5.png    pastedimage1573437634508v6.png

  • Johnseito Profile Picture
    Johnseito 340 on at
    RE: Send email base on action

    There is an email that was sent and by looking at it by time and date, I don’t see it.

    For example date and time is

    11/1/19. 12:01pm

    In system jobs I don’t see this time but all other time for this date.

    Why do we get email sent but I don’t see it in jobs.

    Could it be sent by somewhere else or other jobs or workflow, or business rule etc ?

  • Johnseito Profile Picture
    Johnseito 340 on at
    RE: Send email base on action

    Hi thanks for the valuable information. I just have one question from what you said,

    1) Go to Settings > Processes, click New. Select Category to Workflow, Entity to Contact.

    where is the workflow located and how can I get there ?

    Thanks

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Send email base on action

    Hi partner,

    Don't forget to mark the verified answer by clicking Yes.

    pastedimage1572571640900v1.png

    This will help other users quickly navigate to this post.

    Thanks.  :)

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Send email base on action

    Hi partner,

    So your needs are the steps to create a workflow that automatically sends emails?

    If so, here is a demo.

    My business requirement is that when I create a new contact, D365 automatically sends an email to him/her.

    1) Go to Settings > Processes, click New. Select Category to Workflow, Entity to Contact.

    pastedimage1572330947986v1.png    pastedimage1572331103037v2.png

    2) Select Scope to Organization, check Record is created, Add step - Send Eamil. Then click Set Properties.

    Selecting Scope for Organization is to trigger this workflow when any user creates a contact. If it is limited to the business unit of workflow's owner, select Scope as Business Unit.

    pastedimage1572332019130v4.png    pastedimage1572332304079v5.png

    3) Fill in the fields of the email. Use the Form Assistant on the right to fill in the dynamic values so that you can fill in the newly created contact for the field To and contact name.

    pastedimage1572332564905v6.png

    4) Activate this workflow. The effect is as follows.

    pastedimage1572333043496v7.png

  • Johnseito Profile Picture
    Johnseito 340 on at
    RE: Send email base on action

    Hi, thanks for the advise and suggestion. I don’t know if you know what I am asking for. I am just saying when we doing this in CRM, either create a new contact or job we can tell CRM to send emails out to who ever we wish.

    I am just saying where can I find the workflow, or process that is using the logic to send those emails ?

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Send email base on action

    Hi partner,

    We can use the time of system jobs to filter out the corresponding process.

    I recommend you open two browser tabs, one for email and one for System jobs.

    Get the ‘Modified on’ time of the email you want to find, such as 10/28/2019 1:46PM.

    pastedimage1572242402602v4.png

    Go to Settings > System jobs.

    pastedimage1572231788913v1.png

    Turn on the filter and set up a custom filter for the ‘Started On’ column to filter out the day 10/28/2019.

    pastedimage1572243265430v1.png

    Then find out which process is used to send emails based on the hour, minute and second (1:46PM).

    pastedimage1572242797110v6.png

    Finally we find it based on the workflow name. Click on 'Process Sessions' on the left side of the workflow and you can see the log of this workflow.

    pastedimage1572243142373v7.png

    You can modify its logic.

  • MATTGUO Profile Picture
    MATTGUO 22,306 on at
    RE: Send email base on action

    Hello Johnseito,

    Which specific product are you using?

    If it is D365FO, the emails need to be sent can be seen in System administration > Periodic tasks > Email processing > Email sending status.

    All the running workflow can be seen in Common > Inquiries > Workflow > Workflow history.

    Please elaborate on your problem you are facing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans