Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Nullable object must have a value. dynamics 365

(0) ShareShare
ReportReport
Posted on by 35

I am trying to update the case sla. 

whoever created it already had this in place 

7737.pastedimage1657115489842v3.png

When i try and change the criteria to the below

4466.pastedimage1657115571939v4.png

i get this error 

'

Business Process Error

Nullable object must have a value.

Error code: 0x80040265Session Id: 57b1c1ae-b430-464c-9e82-3f480ad5d9e6Activity Id: c4d6cc43-7799-43d6-9e02-f2fe6e125a87Time: Wed Jul 06 2022 14:52:57 GMT+0100 (British Summer Time)

I cant figure out what it means, the log doesnt tell me which field it could be 

Exception Message: Nullable object must have a value.

ErrorCode: -2147220891
HexErrorCode: 0x80040265

ErrorDetails:
ApiExceptionSourceKey: Plugin/Microsoft.Crm.Service.ObjectModel.SLAItemService
ApiStepKey: 94197830-1c25-41b5-a79b-b06a2372405d
ApiDepthKey: 1
ApiActivityIdKey: 920397ad-2b3a-479a-b626-b361955d3dc8
ApiPluginSolutionNameKey: System
ApiStepSolutionNameKey: System
ApiExceptionCategory: ClientError
ApiExceptionMessageName: IsvAborted
ApiExceptionHttpStatusCode: 400
OperationStatus: 0
SubErrorCode: -2146233088
Plugin:
PluginTrace: [Microsoft.Dynamics.SLAManagement.Plugins: Microsoft.Dynamics.SLAManagement.Plugins.PreOperationUpdateServiceLevelAgreementItem]
[5f811bc5-5166-41bd-a818-c9d78ceb4491: Pre validation on SLAItem Update]
Entered Microsoft.Dynamics.SLAManagement.Plugins.PreOperationUpdateServiceLevelAgreementItem.Execute(), Correlation Id: 2e761ed3-22e9-4a57-8dfc-4fe83b584cfd, Initiating User: 7b9eb39a-f60b-ec11-b6e6-000d3ad6a709
Exiting Microsoft.Dynamics.SLAManagement.Plugins.PreOperationUpdateServiceLevelAgreementItem.Execute(), Correlation Id: 2e761ed3-22e9-4a57-8dfc-4fe83b584cfd, Initiating User: 7b9eb39a-f60b-ec11-b6e6-000d3ad6a709

TraceText:
[Microsoft.Dynamics.SLAManagement.Plugins: Microsoft.Dynamics.SLAManagement.Plugins.PreOperationUpdateServiceLevelAgreementItem]
[5f811bc5-5166-41bd-a818-c9d78ceb4491: Pre validation on SLAItem Update]
Entered Microsoft.Dynamics.SLAManagement.Plugins.PreOperationUpdateServiceLevelAgreementItem.Execute(), Correlation Id: 2e761ed3-22e9-4a57-8dfc-4fe83b584cfd, Initiating User: 7b9eb39a-f60b-ec11-b6e6-000d3ad6a709
Exiting Microsoft.Dynamics.SLAManagement.Plugins.PreOperationUpdateServiceLevelAgreementItem.Execute(), Correlation Id: 2e761ed3-22e9-4a57-8dfc-4fe83b584cfd, Initiating User: 7b9eb39a-f60b-ec11-b6e6-000d3ad6a709

Activity Id: c4d6cc43-7799-43d6-9e02-f2fe6e125a87

Any help would be appreciated

Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Nullable object must have a value. dynamics 365

    Glad your problem was solved!

  • smorgan86 Profile Picture
    smorgan86 35 on at
    RE: Nullable object must have a value. dynamics 365

    Thanks for suggestion.

    The fix was actually a required field on the business process flow that I had hidden on my form.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Nullable object must have a value. dynamics 365

    Hi smorgan86, 

    The reason why this happens is that the affected SLAs were created a long time ago and this field that generates the error was not introduced when these SLAs were created, it was introduced later.

    Maybe you can try to create one new sla to replace it.

    Or you can try to change the “Override Criteria” toggle to Yes, then back to No and save the changes.

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans