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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

SLA with timer

(0) ShareShare
ReportReport
Posted on by 98

Hey guys, I need to do an SLA with the timer. my idea is for the timer to count down from the creation date to the desired completion date from an SLA. example: ticket was created on 08/28/2022 at 08:00 hours, the sla of the ticket is 40 minutes, so it should expire on 08/28/2022 at 08:40 with that the counter would make the regression of the 40 minutes in the screen. In addition, I would like the visualization to be ordered with the call that will win first. It would be possible? Can anyone give me some help?

Categories:
I have the same question (0)
  • Verified answer
    LuizVicente Profile Picture
    984 Super User 2024 Season 1 on at

    See if it helps you.
    To simulate the ticket creation date, I set the following variable:

     

    Set(
     gblTicketDateTime,
     DateTimeValue("08/31/2022 22:10","en")
    )

     

    Now, in the timer control:

    Duration property:

    DateDiff(gblTicketDateTime, Now(), Milliseconds)

     

    Text property:

    Text(
     Time(
     0,
     0,
     (Self.Duration - Self.Value) / 1000
     ),
     "hh:mm:ss"
    )

     

    Result:

    countdown.gif

  • beatrizmoura26 Profile Picture
    98 on at

    Thank @LuizVicente you save my life!!!!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard