Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Status Reason Transitions Error

Posted on by 5

Hi All,

We get the following error randomly:

  • ErrorCode: -2147160050
  • Action could not be taken for few records before of status reason transition restrictions.
  • [Entity] does not have valid status code

Scheduled workflow runs overnight and the target workflow just sets Status Reason from S1 to S2. There are Status Reason Transitions defined and that transition is of course allowed. However, the workflow randomly fails with the error above. I've researched and tried a lot of experiments, I found this is related to the workflow types. When I convert the workflow to a real-time workflow, it never fails. I don't know what the issue is with the background type workflow but I think this has something to do with asynchronous background processes. It seems like a Dynamics bug to me but I'm still not sure if my fix is a correct approach/solution. What do you think?

Thanks.

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Status Reason Transitions Error

    Hi partner,

    If you want to use a background workfllow  to update the status reason, please make sure the status reason has been allowed.

    https://www.magnetismsolutions.com/blog/colinmaitland/2014/06/17/microsoft-dynamics-crm-2013-status-reason-transitions-part-2

    Best Regards,

    Leo

  • Suggested answer
    ashish12 Profile Picture
    ashish12 3,079 on at
    RE: Status Reason Transitions Error

    Hi William,

    Please raise a ticket with MS if your issue is not resolved.

    Thanks

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans