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 Apps / Trigger automaticaly a...
Power Apps
Answered

Trigger automaticaly after 7 days

(0) ShareShare
ReportReport
Posted on by

Hi everyone!

 

How can I implement this in PowerApps?

Thanks in advance!

Powerapps2.png

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

    Set the Color property of the number in your gallery to If(DateDiff('date in locker',Today())>7,Red,Black)

    For the toggle, DateDiff('date in locker',Today())>7 should be sufficient as it will reduce to either true or false.

  • Verified answer
    AllanDeCastro Profile Picture
    412 Most Valuable Professional on at

    Hello,


    I think you could just put an IF condition on the BorderColor property.
    The goal would be to compare the "Date in Locker" with "Date in Locker" + 7 days and then put the border in red or blue.

    You could also decide to use the boolean for this condition but to do so you would have to do a recurrence flow that is triggered every day to retrieve the records whose "Date in Locker" + 7 days is equal to today's date and for these records update the boolean field to true. Then, you can add an IF condition on the BorderColor property based on this boolean field!


    Hope it helps 🙂

     

  • bsoares Profile Picture
    on at

    @Drrickryp 

     

    Hi! The color changed after 7 days! Great! Thanks for your help!

    Can you help me with this one? I want the toggle button from No to Yes after 7 days too.

    Powerapps1-.png

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    For the toggle, the Default property could be set as DateDiff('date in locker',Today())>7 since it reduces to either true or false. If that doesn't work then If(DateDiff('date in locker',Today())>7,"Yes","No") in the Default property of the toggle. 

  • bsoares Profile Picture
    on at

    It worked! Thanks for helping!

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard