Quantcast
Viewing all articles
Browse latest Browse all 79901

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

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

Markus

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

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

 <ErrorCode>-2147187962</ErrorCode>

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

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

 <Timestamp>2013-02-06T07:54:29.5128838Z</Timestamp>

 <InnerFault>

   <ErrorCode>-2147187962</ErrorCode>

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

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

   <Timestamp>2013-02-06T07:54:29.5128838Z</Timestamp>

   <InnerFault i:nil="true" />

   <TraceText i:nil="true" />

 </InnerFault>

 <TraceText i:nil="true" />

</OrganizationServiceFault>

  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)


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>