Is there a way to have a SLA KPI Instance with dynamically Warning and Failure time?
You should be returning a double value.
See the sample below.
Hi Gabriel!
I am very sorry for replying late. I have been these 14 days trying that solution that you tell me and I have some difficulties. I don't know if you could help me?
-I have made the Process and the Plugin but apparently I am getting the following error:
Exception Message: Exception occured in SLAInstance management custom action : Microsoft.Xrm.Sdk.InvalidPluginExecutionException: Warning or the Failure Time returned by Custom Time Calculation Process for the SLA Item new_CustomPluginTimeCalculationf7fa15582e64ed119561002248047792 is invalid Error Code:0x10000008
As you can see, I am returning the same values that arrive but it shows me the error mentioned above
Hi.
Yes, you can do it with some lines of code.
learn.microsoft.com/.../enable-sla-custom-time-calculation
Hi Catalinas,
What do you mean by “dynamically”? Or what are you trying to achieve with it?
I need more information for further research.
If you want to configure actions for the SLA item: https://learn.microsoft.com/en-us/dynamics365/customer-service/define-service-level-agreements?tabs=customerservicehub#configure-actions-for-the-sla-item
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Daniyal Khaleel 67
Tom_Gioielli 28 Super User 2025 Season 2
Gerardo Rentería Ga... 17 Most Valuable Professional