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)

Updating Status Reason for Disqualified Leads in Bulk

(0) ShareShare
ReportReport
Posted on by

Hello,

I am trying to update a number of closed (disqualified) leads with a workflow that changes their status reason.

When I try to run the workflow and check the background processes, I notice that the workflow automatically cancels.

When I try to resume the workflow, I get this Error:

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

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]:
System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A0973B67Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>b8d44a64-1e07-485a-9ee5-4681d7128df7</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A0973B67</Message>
<Timestamp>2018-05-09T12:33:20.8417204Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>b8d44a64-1e07-485a-9ee5-4681d7128df7</ActivityId>
<ErrorCode>-2147204762</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The state transition requested is not valid for the current state. Current state: 3, current status: 32, target state: 0, target status: -1.</Message>
<Timestamp>2018-05-09T12:33:20.8417204Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

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

I am unable to pinpoint the issue.

Please advise,

thanks,

Kodor

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Wayne Walton Profile Picture
    13,730 on at

    You need to reactivate the record first.  So your workflow will need to change the status to Active, then update the Status Reason.

    Plus, each Status Reason is tied to only one Status, so you're going to have to make sure the Status Reason you're changing things to match the final status of the Lead.  

  • Community Member Profile Picture
    on at

    Hello Wayne,

    Thank you for your quick response!

    I added a step to set the status to open again and then perform the change but

    I am still getting the same auto cancel error.

    Edit: Never mind it worked.

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