web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Error Handling
Suggested answer

Issue - value in flow, email and data source is correct but not in canvas app via deeplink.

(0) ShareShare
ReportReport
Posted on by
Issue:
- When a user submits a quote from power apps a flow gets triggered via a power apps trigger. A custom app link is generated with that unique item id
- Approvers get an email, the value in the email as per the picture is correct and it's also consistent with the data source but when i open the app via deep link in the email i get inconsistencies in the values as shown via image.
 
- The data is consistent when you open the app normally or play it normally but via deep link the value is slightly off from what it should be in the email.
 
Things I've tried:
- adding custom parameter in app link "restartApp=true"
- Refreshing the data source via onStart, onVisible of the deep linked screen & startScreen
I have the same question (0)
  • Suggested answer
    Nour Abuzaid Profile Picture
    22 on at
    Issue - value in flow, email and data source is correct but not in canvas app via deeplink.

    Cause: Deep link opens the app before the latest data loads, so values appear inconsistent

    suggested Fix:
     
    • keep passing the item ID in the link: ...&ItemID=<ID>&RestartApp=true

    • In OnStart or deep-linked screen OnVisible, refresh and load the record after refresh completes:
      If(
          !IsBlank(Param("ItemID")),
          Refresh(YourDataSource);
          Set(varRecord, LookUp(YourDataSource, ID = Value(Param("ItemID"))))
      )

      Navigate only after varRecord is set.

      Key: Always ensure refresh completes before reading the record; this fixes deep-link mismatches.

            References:
            https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-refresh

            https://learn.microsoft.com/en-us/power-apps/mobile/mobile-deep-links

            https://www.microsoft.com/en-us/power-platform/blog/wp-content/uploads/2024/06/PowerApps-canvas-app-coding-standards-and-guidelines.pdf

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics