Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Is there a way to create a case from an old email w/ c#?

Posted on by 10

Hello there!
I have a bunch of old emails and I'd love to create some cases from them.

The thing is it should be done w/ only c# plugin. Also email could be 'closed' already and I don't want to reopen it.

Is there any way to do it?

*This post is locked for comments

  • GregE Profile Picture
    GregE 10 on at
    RE: Is there a way to create a case from an old email w/ c#?

    Thank you. But I need a plugin-based solution.

  • GregE Profile Picture
    GregE 10 on at
    RE: Is there a way to create a case from an old email w/ c#?

    The number of records is a variable. Ideally I would like to get an email Guid and create a new Case from it. I noticed that there's a standard feature to create a case from an email. I would like to use that feature in my plugin.

  • GregE Profile Picture
    GregE 10 on at
    RE: Is there a way to create a case from an old email w/ c#?

    Thank you for your answer!

    But unfortunately I see zero c# code nor plugin info in the linked document.

    Also these emails have nothing in common.

  • Rajesh Chungath Profile Picture
    Rajesh Chungath 465 on at
    RE: Is there a way to create a case from an old email w/ c#?

    You can create a Console application and find all old emails by applying proper filter and then create the cases based on your requirement.

    Otherwise you have to add a dummy filed to trigger plugin or workflow.  

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Is there a way to create a case from an old email w/ c#?

    Hi ,

    In addition to that ,How many records you have ? You may create a dummy field or update an existing  field of email entity using bulk update of manual  and configure a workflow on  Email entity  to create the case .

  • oliver.rodrigues Profile Picture
    oliver.rodrigues 4,052 on at
    RE: Is there a way to create a case from an old email w/ c#?

    you can create Case Routing Rules and set up certain conditions, so you can set the case status based on something on the e-mail content

    docs.microsoft.com/.../create-rules-automatically-route-cases

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans