Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

SLA Activation Error -Case SLA workflow containing error.Please correct the workflow and try again

Posted on by 50,085

Hi Experts,

Recently in our development environment I am getting error while activating the SLA. The SLA activated earlier but somehow from last week particular  SLA is not activating. I have checked all the SLA items with failure condition nothing is failed all are fine. I am able to activate other SLA except one. Below  is the error I am getting .

Could you please let me know how can I find out the root cause for this issue  , I have gone through every SLA items but no luck.

slanotacti.JPG

Here is the downloaded 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: #B46214EDDetail:
<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>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #B46214ED</Message>
<Timestamp>2018-04-02T10:39:04.9205123Z</Timestamp>
<InnerFault>
<ErrorCode>-2147157917</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Case SLA workflow containing error.Please correct the workflow and try again</Message>
<Timestamp>2018-04-02T10:39:04.9205123Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

  • Suggested answer
    C. Jensen Profile Picture
    C. Jensen 384 on at
    RE: SLA Activation Error -Case SLA workflow containing error.Please correct the workflow and try again

    Hi Goutam

    I hope you have solved your problem. But if you haven't, I will share my experience with you.

    I had the same problem today.

    I created some SLA's and assigned them to a team in another business unit. This gave me the same problem as you.

    I solved it by assigning the SLA to my self. After that, I could activate the SLA.

    Best regards

    Christian Jensen

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: SLA Activation Error -Case SLA workflow containing error.Please correct the workflow and try again

    Hi,

    hmm, the most headache problem is coming. especially where the trace log didnt track anything.

  • gdas Profile Picture
    gdas 50,085 on at
    RE: SLA Activation Error -Case SLA workflow containing error.Please correct the workflow and try again

    Hi Alex,

    Thank you for your response this URL is really helpful, its says -

    Name: CannotChangeState Hex: 8004F863 Number: -2147157917

    Error occured during activating SLA..Please check your privileges on Workflow and kindly try again or Contact your system administrator.

    I am as a system admin security role  and I can able to activate others SLA as well. I have also check event viewer ,trace log, system jobs but could not found anything.

    Actually the SLA items is very complex more than 150 scenario so its difficult to create new one and test one by one.

    I just want to find the which SLA items and condition causing the issue ,  its difficult to identify to see the condition.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SLA Activation Error -Case SLA workflow containing error.Please correct the workflow and try again

    Hi,

    Can you re-create the SLA and check. Experienced this before. Re-creating SLA solved the issue at that time.

    Mansoor

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: SLA Activation Error -Case SLA workflow containing error.Please correct the workflow and try again

    Hi,

    Please check the below post, but not sure is that a root cause. Use the error code to find the key word.

    -2147157917

    community.dynamics.com/.../quick-reference-dynamics-365-web-service-error-codes

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans