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 / Refresh() is ~30s delayed
Power Apps
Unanswered

Refresh() is ~30s delayed

(0) ShareShare
ReportReport
Posted on by 3,976

I have an app where:

  1. A user Refreshes the datasource on CDS, then updates a record in a datasource.
  2. If you view the data in the entity, the change is instant and confirmed.
  3. Another user on another device Refreshes the datasource to view changes.
  4. Although the change is confirmed in the entity, the other user does not detect the change for 34s--pretty consistently.

Is this delay in place on purpose? Since the timing is so consistent, it seems to be built in.

Categories:
I have the same question (0)
  • hpkeong Profile Picture
    2,944 on at

    Hi

     

    Currently,I am using Excel DropBox, the changes for user in Device A can be Refreshed and viewed almost instantly in Device B.

    (Either Android - Android, Android - iOS, Android - Win 10, vice verse).

    Guess maybe CDS problem?

    (I have not been using CDS for couple of weeks)

     

    Just wonder of the difference...

  • Brian Dang Profile Picture
    3,976 on at

     

    2017-04-01 (4).png

     

     I ran a test where

    • I had two user accounts logged into different browsers: Google Chrome regular and Google Chrome incognito.
    • I opened the app in both browsers.
    • You can increase and decrease the value of a record using the bottom buttons. 
    • The top button refreshes the datasource and sets at the affected record to a context variable, checkstatus.

    The result is that changes to the affected record are not detected from one browser to the other until 34s have elapsed (changes within one browser are detected in that browser).

  • Brian Dang Profile Picture
    3,976 on at

    To put this into perspective of why this is a huge problem:

     

    If one user updates data and another user attempts to update the same one within 30s, then they will not have detected the previous changes.

     

    In additional testing, the change may not be detected for minutes. So Refresh() is not always working correctly. The surefire way of detecting new changes is to reopen the app or reload the webpage.

  • Brian Dang Profile Picture
    3,976 on at

    Essentially, only one user can be on the app at any given time. There is no point to multiple instances or users because they can't receive the most up-to-date data. 

     

    Is the delay by design or is it on schedule to be eliminated?

  • Brian Dang Profile Picture
    3,976 on at

    I don't know what you had changed, but it seems the 30s delay is less significant. 

     

    I had stored a variable online into a CDS entity. When the variable was false, then users could post messages. When I turned the variable on, it activated moderation mode, so user messages would need to be confirmed before they were visible.

     

    It was only possible for this variable to work if changes to the entity were immediately recognized between different computers. There has clearly been an improvement in CDS. It is nice to discover these things, but I feel the PA team could get more credit if these improvements were fully communicated.

     

    Thank you.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard