Skip to main content

Notifications

Announcements

No record found.

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!!

  • Suggested answer
    Gus Gonzalez Profile Picture
    27,113 on at
    RE: Case creation failed by WF

    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.

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Case creation failed by WF

    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

  • Pankaj Gogoi Profile Picture
    3,177 on at
    RE: Case creation failed by WF

    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

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans