Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

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

(0) ShareShare
ReportReport
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,058 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans