Send E-Mail workflow step: Cannot update parties unless email is in draft status RRS feed

  • Question

  • Hi All,

    I need some help, I have no more ideas what's going wrong.
    Please help, I only need some more ideas !!

    System: CRM 2011 UR10, OnPremise, E-Mail Router

    We have some really simple workflows triggered by specific field changes on accounts, every workflow has one "Send email" activity step. Sometimes this step fails in different workflows with the message "Cannot update parties unless email is in draft status", detailed message see below.

    We have the situation that the same user changes the same field in the same account. One day the workflows are running the next day they fail. And also very strange: if we enable CRM Server tracing the error does nearly never happen (1 time in 3 weeks), with disabled tracing we see this error about 5 times the day...

    What we have already checked:

    • No other workflows on email, that change the status of the created email or do other things with emails
    • No plugins that are registered on emails/none...
    • No E-Mail Router eventlog warning/error entries
    • Not a security issue (Owner of workflow is sysadmin, User that triggers workflow is sysadmin, Sender, Owner of E-Mail is Sysadmin)
    • E-Mail Addresses are approved
    • Sender, Owner is not set in the "Send email" activity step, will be filled with the workflow owner...

    Thx for your help


    Workflow paused due to error: Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]:Cannot update parties unless email is in draft status.Detail:

    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">


      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />

      <Message>Cannot update parties unless email is in draft status.</Message>




        <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />

        <Message>Cannot update parties unless email is in draft status.</Message>


        <InnerFault i:nil="true" />

        <TraceText i:nil="true" />


      <TraceText i:nil="true" />


       at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)

       at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)

       at Microsoft.Crm.Workflow.Services.SendEmailActivityService.<>c__DisplayClass1.<SendEmailInternal>b__0(IOrganizationService sdkService)

       at Microsoft.Crm.Workflow.Services.ActivityServiceBase.ExecuteInTransactedContext(ActivityDelegate activityDelegate)

       at Microsoft.Crm.Workflow.Services.SendEmailActivityService.ExecuteInternal(ActivityContext executionContext, SendEmail sendEmail)

       at Microsoft.Crm.Workflow.Services.SendEmailActivityService.Execute(ActivityContext executionContext, SendEmail sendEmail)

       at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)

       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

    Thursday, March 14, 2013 5:03 PM


All replies

  • Are you attempting to perform an update step on the sent email at all? If so you will need to set the email status to draft before making any field changes, then change it back to sent.

    If no changes are being made, then can you post a screenshot of the Send Email step?


    Sunday, March 17, 2013 9:18 AM
  • Hi,

    thx for your help, it seems to be a timing problem.
    I got some answers in this forum: https://community.dynamics.com/crm/f/117/t/103182.aspx


    Monday, March 18, 2013 7:16 AM