Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

End date utc now when close ticket (helpdesk template)

(0) ShareShare
ReportReport
Posted on by

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

  • Community Power Platform Member Profile Picture
    on at
    Re: End date utc now when close ticket (helpdesk template)

    it's OK

  • Community Power Platform Member Profile Picture
    on at
    Re: End date utc now when close ticket (helpdesk template)
     

    i test........

  • Community Power Platform Member Profile Picture
    on at
    Re: End date utc now when close ticket (helpdesk template)

     

    ok i will test it i keep you informed

  • Verified answer
    RobElliott Profile Picture
    10,118 Super User 2025 Season 1 on at
    Re: End date utc now when close ticket (helpdesk template)

    @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
    on at
    Re: End date utc now when close ticket (helpdesk template)

    hum...

  • Chriddle Profile Picture
    7,667 Super User 2025 Season 1 on at
    Re: End date utc now when close ticket (helpdesk template)

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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow