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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Case creation failed by WF

(0) ShareShare
ReportReport
Posted on by 70

Hello All,

I am creating the case using OOB WF whenever an email is received in the system. If the sender of an email is contact and that contact is having the customer(Company Name) then I want to set that company name into case's customer filed. For this, I have set the "Senders Account" property of email into the Customer field of the case. But this Senders Account is getting null and wf is giving the error that case is missing customer.

Please help to find out why this senders account is getting null even if the sender(contact) is having the customer(Account).

Thank you in advance!!

I have the same question (0)
  • Pankaj Gogoi Profile Picture
    3,177 on at

    Hi Bhavika,

    Please refer this link for Automatic Case creation.

    https://docs.microsoft.com/en-us/dynamics365/customer-service/automatically-create-case-from-email

    "By default, the Title field of the new case is set to the subject of the email and the Customer field is set to the sender of the email. If the sender of the email is a contact with a parent account, the Customer field is set to the parent account, and the Contact field is set to the sender of the email"

    Best Regards

    PG

  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi Partner,

    In WF when creating the case, the "Customer" field is locked.

    pastedimage1598259686469v1.png

    I recommend you to use Power Automate instead.

    1.Create a new Power Automate with trigger "When a record is created".

    pastedimage1598259823186v2.png

    2.Create a get record action to get the contact record.

    3.Create a create record action to create case.

    pastedimage1598262337889v3.png

    Regards,

    Leo

  • Suggested answer
    Gus Gonzalez Profile Picture
    27,113 on at

    Hello,

    I would create a Case Creation Rule with 3 conditions or actions.

    One will check if the email creating the case came from a contact with a company, if so, connect the company as the customer and the contact as the contact. The other action will check if the contact does not have a company in which case you can leave the contact as the customer, or my preference, assign the case to a company I call "Unassigned" and set the contact to the case contact, and lastly, I check if the email came from an internal employee because if that's the case the system won't know which customer the case belongs to. So in those scenarios I like to assign the case to the "Unassigned" account record, leave the case contact field empty, and sometimes assign the case to the user who sent the email in.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 52

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 51 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans