web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

send email when record is assigned

(0) ShareShare
ReportReport
Posted on by 235

I have a custom entity. When its record is assigned to any user I want to send her an emal automatically. Please guide me how it can be done ? I m looking for different solutions.

Please give me suggestions. I know one way is Flow I m looking for other ways. Code, no code or configs.

I have the same question (0)
  • Suggested answer
    T.I.A Profile Picture
    1,760 on at

    You can use a custom workflow to do this. You could also use a action to send the email.

  • umma Profile Picture
    235 on at

    Thanks @T.I.A

    Is it the only option ? Will I need to config mailbox etc ?

    Is there any other option in d365 ?

  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    There are 2 ways to do this.

    1. As you konw, create a workflow to send the email automatically when you assign a record.

    2.You could create a plug-in/custom workflow with C# and register it when you assign a record.

    You could refer to the following posts for sample code.

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/149773/send-email-using-plugin/341509

    https://www.youtube.com/watch?v=WgbREcIBsio

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/sample-send-email

    Hope it helps.

    Best Regards,

    Leo

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi partner,

    The easiest way is to use the OOB workflow, which is a codeless way.

    Create a workflow, select Scope as Organization, and check 'Start when' is 'Record is assigned'.

    5430.PNG

    Add a step - Send email.

    pastedimage1570678250028v1.png

    Set its properties, use the form assistant on the right to insert dynamic values.

    pastedimage1570678883248v3.png

    When you populate From and To, there are two fields to note, they are 'Modified By' and 'Owner'. Since the assignment event is executed first, then this workflow is triggered immediately. So 'Modified By' and 'Owner' here are the field values after the assignment.

    • The value of 'Modified By' is the user who clicks the Assign button to perform the assignment event.
    • The value of 'Owner' is the user to whom this record is assigned, that is, the user of 'Assign to' in the dialog box after clicking the Assign button.

    pastedimage1570678563443v2.png

    So, if you want the 'From' to be the user who click the Assign button and 'To' is the user who is assigned to, then you should use form assistant to set 'From' for {Modified By(entity name)} and 'To' for {Owner(entity name)}.

  • 0e2Abraxas Profile Picture
    10 on at

    What answer? There's nothing here to use, you are not answering the question: How? Not "if is possible" through Workflow or "Actions" (what Actions????)...

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 93

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans