Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Rollup fields Async Jobs Fail

(0) ShareShare
ReportReport
Posted on by 95

Hi, using SDK code our system jobs were updated from Suspended/Waiting to Completed/Canceled. Now our Rollup fields on Account are broken and we cannot publish the account entity. Here is the error message: "The state transition requested is not valid for the current state. Current state: 3, current status: 32, target state: 0." Using SDK code, we tried deleting the system jobs related to the rollup fields, and also changing them back to "waiting", but CRM will not allow it. We tried restarting the async services to see if we can get the jobs restarted are recreated, but it didn't work. It also will not allow us to change the recurrence schedule from the front end. We called and MS support and are waiting to hear back, but in the meantime, has anybody encountered a similar issue? Thanks in advance. 

*This post is locked for comments

  • Suggested answer
    Eric Blanco Profile Picture
    Eric Blanco 95 on at
    RE: Rollup fields Async Jobs Fail

    Microsoft recommends we update the AsyncOperationBase table directly. Sample below:

    update asyncoperationbase

    set

    statecode = 1

    ,statuscode = 10

    where asyncoperationid in ('BAEA319E-3231-4240-9567-711FD2F47B77')

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans