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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Nullable object must have a value. dynamics 365

(0) ShareShare
ReportReport
Posted on by 45

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

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Nullable object must have a value. dynamics 365

    Glad your problem was solved!

  • smorgan86 Profile Picture
    45 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
    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

Quick Links

Responsible AI policies

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

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 338

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 87 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans