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 Platform Community / Forums / Power Automate / I have created Automat...
Power Automate
Answered

I have created Automatically closed ticket flow but it's not working

(0) ShareShare
ReportReport
Posted on by 74

Hi Team,

 

I've developed a Power Automate flow to close tickets automatically. The idea is that once the IT team completes a ticket, it should be sent to the user for closure. However, sometimes users forget to close the ticket. To address this, I attempted to create a flow that automatically closes the ticket after three days if the status is updated to "complete". However, it's not functioning as expected.

 

I've attached a PDF outlining my flow as well as the input and output expressions. Could someone please review and suggest a better solution?

 

Compose Input Expression :- 

sub(ticks(utcNow()), ticks('CompletedTimeStamp'))
 
Condition Output Expression :- 
div(sub(ticks(utcNow()), ticks('Completed Time')), 86400000000)

 

Thanks for your assistance.

Afrath

 

Thanks,

Afrath

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @AFRATH34 ,

     

    Please try this

    vxiaochenmsft_0-1713253092180.png

     

    Best Regards,

    Wearsky

  • RobElliott Profile Picture
    10,539 Super User 2026 Season 2 on at

    @AFRATH34 I suspect that both your flow and the one suggested by @v-xiaochen-msft will end up in an infinite loop.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard