Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Process: Case Creation Email Workflow

Posted on by 15

I created a process that sends an email to several of our support staff when a case is created.  One of the email addresses that receive the email has been unlicensed and now I get a bounced email whenever a case is opened.  I tried to edit the process so I can remove that email address and received the following error message.  I tried deactivating the process prior to editing and got the same error.  Can anyone point me in the right direction for editing this Process?

pastedimage1589284809043v1-_2800_1_2900_.png

  • Justin Orr Profile Picture
    Justin Orr 15 on at
    RE: Process: Case Creation Email Workflow

    Thanks for the information Gustavo.  That helped.  When I try to re-create the process from the customization area of dynamics, I get the same error message so I attempted to use PowerApps.  The problem I am having there is that some of the fields listed don't contain the data that they should.  The display name for the fields such as Customer are there but the actual field name listed for it is incident_customer_contacts and it should be customerid.  There are others but that is one example.

  • Verified answer
    RE: Process: Case Creation Email Workflow

    Hello Justin Orr,

    Focusing on org URL xxx.crm.dynamics.com and Telemetry ID = 020c0180-3a5f-4f05-8a79-a61a499d9d33, noticed this exception:

    Stack Trace Info: [NullReferenceException: Object reference not set to an instance of an object.]

    Based on the stack trace, the issue is coming from method SendEmailFieldProperties().

    Apparently some reference for SendEmail step is null.

    My first suggestion would be to remove and create again the SendEmail step.

    If you need further help, I suggest you to raise a ticket with the Microsoft Dynamics 365 support team.

    Full stack error:

    MSCRM Error Report:

    -------------------

    Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Error Message: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Error Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Source File: Not available

    Line Number: Not available

    Request URL: xxx.crm.dynamics.com/.../entityform.aspx

    Stack Trace Info: [NullReferenceException: Object reference not set to an instance of an object.]

      at Microsoft.Crm.Web.Sfa.WorkflowEntityForm.SendEmailFieldProperties(CrmFormEventArgs e)

      at Microsoft.Crm.Web.Sfa.WorkflowEntityForm.SetFieldProperties(Object sender, CrmFormEventArgs e)

      at Microsoft.Crm.Application.Forms.EndUserForm.OnDataBound(CrmFormEventArgs e)

      at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, FormDescriptor fd, String quickFormUniqueId)

      at Microsoft.Crm.Web.Sfa.EntityForm.ConfigureForm()

      at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)

      at Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e)

      at System.Web.UI.Control.PreRenderRecursiveInternal()

      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]

      at System.Web.UI.Page.HandleError(Exception e)

      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

      at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

      at System.Web.UI.Page.ProcessRequest()

      at System.Web.UI.Page.ProcessRequest(HttpContext context)

      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

      at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans