Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Automatically Attaching an SLA to a case

(0) ShareShare
ReportReport
Posted on by 20

Hi everyone,  I have three separate SLAs, one for React customers, one for pro customers, and one for Gold customers.

When a case is raised/created, I want dynamics to look at the account of the customer who raised it, look at the SLA value within the specific account, and attach the  SLA to the case, which then kicks off the SLA process.

Has anyone ran into this one before or has a solution for this issue?

Thankyou.

  • Suggested answer
    Ian_P Profile Picture
    64 on at
    Automatically Attaching an SLA to a case
    The SLA configuration allows you to select columns from related tables but does not actually work with it.
     
    We found that you need to add new fields to the Case table and populate them from the Account when Account record is linked to the Case.
     
    You can then use these new fields to do what you want on the Case entity.
  • ChadAlt Profile Picture
    367 User Group Leader on at
    RE: Automatically Attaching an SLA to a case

    Great, best of luck! 

  • MichaelHodgs Profile Picture
    20 on at
    RE: Automatically Attaching an SLA to a case

    Hi ChadAlt ,

    thankyou for taking the time to respond, I have been looking to implement a flow to update SLA information, looks like the best option to revisit.

    Thankyou for your help.

  • Verified answer
    ChadAlt Profile Picture
    367 User Group Leader on at
    RE: Automatically Attaching an SLA to a case

    Hey Michael,

    Have you reviewed the documentation on how to apply an SLA? The easiest option is to set it as the default or an entitlement, but you could also apply through a workflow or Power Automate cloud flow. If none of these occur, no SLA will be applied. 

    docs.microsoft.com/.../apply-slas

    "You can apply service-level agreements (SLAs) to a case or an SLA-enabled entity record in one of the following ways:

    • By updating the SLA information automatically through a workflow, Power Automate flow, or custom plug-in written for the entity.
    • Through the entitlement associated with the case entity record. (This isn't applicable for other SLA-enabled entities.)
    • Manually applying SLAs to records.
    • By setting a particular SLA as the default SLA.

    The SLA is reapplied whenever there's an update on an entity record and the updated fields are part of the Applicable When conditions of the SLA items."

  • MichaelHodgs Profile Picture
    20 on at
    RE: Automatically Attaching an SLA to a case

    Hi KK-365 , thankyou for your help.

    I have checked that the SLA is active and implemented the "Created On" has data condition: 

    pastedimage1661937507486v1.png

    pastedimage1661937556819v2.png

    The Customer account has the correct SLA data: 

    pastedimage1661937667588v3.png

    I changed over the form Account for interactive experience to a default form just in case that was causing the issue, (Account: Account), and updated the entity condition to look at Account: Account:

    pastedimage1661937999467v4.png

    Unfortunately with no luck, and doesn't trigger manually either, so changed it back to the original condition *first screenshot& kept the Account: Account form as this matches our Account form in Sales. 

    Created On has data:

    pastedimage1661938349330v6.png

    And the SLA only triggers when manually inputted *also looked at just having the "Created On" contains data in applicable, this didn't trigger the SLA at all.

    Could you send over some screenshots of how you structured your SLA, SLA item, and anything else that could be helpful?

    Or let me know if I have any irregularities within the screenshots I provided.

    Thanks for your help again, it's really appreciated.

    Michael

  • Suggested answer
    KK-365 Profile Picture
    1,010 on at
    RE: Automatically Attaching an SLA to a case

    Two things you may want to do and check again,

    Activate your SLA it is in draft.

    In the applicable condition, add a condition, created on contains data.

    It is working for me, try again.

  • MichaelHodgs Profile Picture
    20 on at
    RE: Automatically Attaching an SLA to a case

    Hi KK-365 thank you for your suggestion, unfortunately, I am still having issues. Let me break down what I currently have, using the React SLA item "React: Triage": 

    I start with the React SLA KPI, which is applicable from "Created On":

    pastedimage1661881202457v4.png 

    Here is my React SLA, which has four different items: 

    pastedimage1661880783905v2.png

    This is my react triage item: 

    pastedimage1661880722889v1.png

    The applicable is looking at a Lookup field named SLA in Customer Account: 

    pastedimage1661880901183v3.png

    Please see below an example of creating a case under a test account:

    pastedimage1661882528489v8.png

    When I press save, I expect the SLA to be in this field: 

    pastedimage1661881507199v5.png

    Or *same field as above: 

    pastedimage1661882679561v10.png

    And the timer should kick off immediately once Case has been created.

    At the moment it only kicks off once I manually input the SLA, into the SLA field on the case, and press save:

    pastedimage1661882626874v9.png

     

    Any ideas as to where I may be going wrong would be greatly appreciated. 

    Thank you.

  • Verified answer
    KK-365 Profile Picture
    1,010 on at
    RE: Automatically Attaching an SLA to a case

    If you have Customer type stored on Account - React, Pro and Gold. You can follow the below process:

    1. When defining the SLA Item, select the add related entity as shown below:

    Screenshot-2022_2D00_08_2D00_26-at-12.18.14-AM.png

    2. then select customer account, after you select this option select the customer type field = React and then design the SLA for React customer, likewise for other customer type.

    Screenshot-2022_2D00_08_2D00_26-at-12.17.42-AM.png

    If you find this answer helpful, please mark this verified

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 51 Most Valuable Professional

#2
Ramesh Kumar Profile Picture

Ramesh Kumar 42

#3
David Shaw_UK Profile Picture

David Shaw_UK 27

Featured topics

Product updates

Dynamics 365 release plans