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 / End date utc now when ...
Power Automate
Answered

End date utc now when close ticket (helpdesk template)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

hello community i have a probleme with my microsoft list.

i use helpdesk template.

i wanted to add a automatic close date when i change the state of the item to CLOSE

i made this flow

2023-03-07 09_37_43-Modifier votre flux _ Power Automate.png

 

but when i got back to the list of all my closed item, i see all my item with the TODAY date whereas i close few item yesterday or last week....

can you help me to keep the end date when i close it?

 

thanks you in advance for your help

Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,632 Super User 2026 Season 1 on at

    You should only update the items where the close date is empty.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hum...

  • Verified answer
    RobElliott Profile Picture
    10,416 Super User 2026 Season 1 on at

    @Anonymous to only update theclose date when you close an item, first I recommend you turn on versioning on your list in List Settings.

     

    Next, after the trigger add the get changes for an item or a file (properties only) action (? Obtenir les modifications d'un élément ou d'un fichier (propriétés uniquement)) and in the Since field add the expression

    sub(int(triggerOutputs()?['body/{VersionNumber}']),1)

     

    That will compare the previous version with the current version.

     

    Next, your condition should be Has Column Changed: Status is equal to true. And you might want to add an extra row into the condition of Status Value is equal to Close - it's Status Value, not Status, if you are using a Choice column.

     

    In the green if yes channel add your update item action and leave the red if no channel empty. An example of this is below:

     

    0-SP-versioning.png

     

    1-Flow.png

     

    2-Flow.png

     

    3a-Flow.png

     

    3b-Flow.png

     

    4-Flow.png

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     

    ok i will test it i keep you informed

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
     

    i test........

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    it's OK

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard