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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow in waiting status when my import trigger workflow.

(0) ShareShare
ReportReport
Posted on by

Hello,

I have workflow running when the new lead created and the new leads will be added into marketing list based on their topic. The new leads come from online form work perfect. However, when I import leads, 70% of the leads from import trigger work flow and added into marketing list showing status as succeed. 30% of leads triggered workflow but in waiting status with some error message.

Screen shots and error message as follows

Screenshot_5F00_112917_5F00_103904_5F00_AM.jpg

Screenshot_5F00_112917_5F00_104324_5F00_AM.jpg

The error message as follows:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: An unexpected error occurred.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>An unexpected error occurred.</Message>
<Timestamp>2017-11-01T12:16:15.8327956Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.InvalidOperationException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #3413838A</Message>
<Timestamp>2017-11-01T12:16:15.8327956Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.RetrieveMultiple(QueryBase query, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at Microsoft.Crm.Extensibility.InprocessServiceProxy.RetrieveMultipleCore(QueryBase query)
at Microsoft.Crm.Workflow.WorkflowAssemblyResolver.RetrieveActivityNameAndGroupName(String assemblyQualifiedName, String& activityName, String& activityGroupName)

Thanks a lot!

Carys 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Please! Anyone has similar issues please share your experience.

    Thanks

    Carys 

  • Community Member Profile Picture
    on at

    I need to add this step. After I resume the waiting workflow, they are all successful. What could be the reason which causes this issue?

    Thanks

    Carys

  • Verified answer
    PekkaSahlsten Profile Picture
    827 on at

    Looks to me that multiple workflow instances are trying to access the same Marketing List at the same time?

  • Community Member Profile Picture
    on at

    Hello PekkaSahlsten,

    Thanks a lot for your reply.

    Yes. It always happens when I import big group of leads which trigger workflow to add them into the same marketing list.

    Thanks

    Carys

  • Suggested answer
    Goutham A Profile Picture
    2 on at

    Hi carys,

    Its as mentioned by PekkaSahlsten. Multiple instances are accessing same marketing list.

    easy way is you can write a plugin with the same login and handle concurrent updates in it.

    else, you need to create a field in marketing list for concurrency update, update it via plugin and check the same in workflow

  • Community Member Profile Picture
    on at

    Hi Lathin,

    Thanks  a lot! Is here any way not using plugin?

    Regards

    Carys

  • Suggested answer
    Goutham A Profile Picture
    2 on at

    If you are using CRM 2016, Check if  this helps in enabling optismistic concurrency

    msdn.microsoft.com/.../dn932125.aspx

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans