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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Status Reason Transitions Error

(0) ShareShare
ReportReport
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.

I have the same question (0)
  • Suggested answer
    ashish12 Profile Picture
    3,079 on at

    Hi William,

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

    Thanks

  • LeoAlt Profile Picture
    16,331 Moderator on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 75 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans