Skip to main content

Notifications

Announcements

No record found.

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

SLA error

(0) ShareShare
ReportReport
Posted on by 17
Hi, 
 
I would like help with this question. When I try to resolve a case in dynamics I get this error message in the plugin trace log: 
 
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Exception occured in SLAInstance management custom action : System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.SLAManagement.Plugins.SLAInstanceService.GetSLAInstance(String regardingId, Guid slaItemId)
at Microsoft.Dynamics.SLAManagement.Plugins.SLAInstanceService.UpdateSLAKPIInstance(String regardingId, String entityName, Entity entityRecord, Boolean isSlaInstanceCreatedorUpdated, ServiceLevelAgreementKPI slaKpi, List`1 slaItemsFilteredWithKpi, Int32 forceEvaluation)
at Microsoft.Dynamics.SLAManagement.Plugins.SLAInstanceService.ManageSlaInstancesForTargetRecord(String regardingId, String newSlaId, String entityName, Int32 forceEvaluation) (Fault Detail is equal to Exception details:
ErrorCode: 0x80040265
Message: Exception occured in SLAInstance management custom action : System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Dynamics.SLAManagement.Plugins.SLAInstanceService.GetSLAInstance(String regardingId, Guid slaItemId)
at Microsoft.Dynamics.SLAManagement.Plugins.SLAInstanceService.UpdateSLAKPIInstance(String regardingId, String entityName, Entity entityRecord, Boolean isSlaInstanceCreatedorUpdated, ServiceLevelAgreementKPI slaKpi, List`1 slaItemsFilteredWithKpi, Int32 forceEvaluation)
at Microsoft.Dynamics.SLAManagement.Plugins.SLAInstanceService.ManageSlaInstancesForTargetRecord(String regardingId, String newSlaId, String entityName, Int32 forceEvaluation)
TimeStamp: 2023-07-03T15:04:32.0000000Z
OriginalException: SdkClientError
ExceptionSource: SdkClientError
--
).
 
Have anyone encountered this before? I have noticed that it is only possible to close cases if the SLA has not been set on a case. 
 
All tips are highly appreciated. Thanks! 
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    SLA error
    Hi Partner,
    You mentioned that the error occurs when you try to resolve the case.
    When a case is resolved, its status will be changed and a case resolution record will be created.
    You should check and make the owner of the SLA a more privileged user with sufficient write/read/create access permissions to the case and case resolution entity.
  • SLA error
     
     
     
    I know this thread is from a while back, but I thought I'd still
    drop a line to help you out. Dealing with social media icons in
    marketing emails can be tricky, especially when they don't look right in
    the mobile preview.

    To fix this issue, it's essential to ensure your email is designed responsively. This means it adjusts and looks great on different screen sizes, including mobile devices. Check the HTML and CSS coding of the icons to ensure they are properly aligned and sized for mobile view.
    If you're looking for more guidance on creating effective CBD email marketing campaigns, you should definitely check out https://www.clientverge.com/cbd-email-marketing-campaign/. They provide valuable insights and tips that can take your marketing efforts to the next level!
  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    SLA error
    Hi Partner,
    You can try to deactivate and re-activate all flows associated to SLA Item.
  • SLA error
    I know this thread is from a while back, but I thought I'd still drop a line to help you out. Dealing with social media icons in marketing emails can be tricky, especially when they don't look right in the mobile preview.

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,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans