Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Unanswered

SLAKPI Instance trigger for Status Changed, gets fired twice on Near Non-Compliance

Posted on by 5

Hi all,

Similarly  to what describes in his post ((+) Dynamics 365 Customer Service SLAs and Cloud Flows - Microsoft Dynamics CRM Community), we have created a trigger on SLAKPIInstance records for `status` field modification:
pastedimage1643901030551v1.png

We have only one active SLA for testing, with 2 SLA Items, 1xFirstResponseBy and 1xResolveBy with a default Action flow on each of them:
pastedimage1643901560211v2.png

Having a minimal configuration with no extra flows/triggers messing up with writing to SLAKPIInstance records,
the trigger gets fired twice when status is changed to 'Succeeded'(4) or 'Nearing Noncompliance'(2), in both First Response By/Resolve by KPIs SLA Items, 
while when 'Noncompliant'(1), gets fired once. (Haven't tested Paused/Canceled as they are not monitored in our case)

Any hints plz?

NOTE: If placing the Manual action call of the trigger into the default Action flows (without any triggers), everything works ok.

  • gzouganelis Profile Picture
    gzouganelis 5 on at
    RE: SLAKPI Instance trigger for Status Changed, gets fired twice on Near Non-Compliance

    Hi Nya,

    the flow is the default flow which is created when clicking the "configure actions" in a SLA item, thus

    every branch in the switch is empty, checks for 1,2,4 status with no actions:

    pastedimage1644184105926v1.png

  • Nya Profile Picture
    Nya 29,056 on at
    RE: SLAKPI Instance trigger for Status Changed, gets fired twice on Near Non-Compliance

    Hi,

    Would you please provide a screenshot with expanding the "Switch" step?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,336 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans