Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Email Flow action not properly linking to PowerApps

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I have an issue.

 

I have been using flows to send emails to users. In the email would be a hyperlink to the powerapps application with a query string on the link. These links have suddenly begun to have different behavior. I would use the value on the query string to LookUp a record in a SharePoint list.

 

Expected behavior that has been working until recently was that after clicking the link the application would open up to the correct screen and display the correct item based on ID. Instead, now when I click the link the application opens up to the oldest record (The lowest number ID). The URL has the correct query string in all cases, yet the powerapps LookUp() isn't retrieving the correct record. It users the oldest record in the SharePoint list for whatever reason. Let's look at some code to get a better feel of what I'm trying to say.

 

<a href="https://web.powerapps.com/apps/xxxxxxxxxxxxxxx?ItemID={DYNAMIC ID FROM FLOW INSERTED HERE}">Link to app</a>

 

A flow generates the above link and emails a user. The user clicks the link. The ?ItemID={Dynamic ID} is making use of flow dynamic properties. The ID relates to the automatically generated SharePoint ID for every record. 

 

When the user navigates to the application -- the screen BrowseScreen1 has this code on the property "OnStart".

 

If(IsBlank(Param("ItemID")),
Navigate(BrowseGallery1, ScreenTransition.Fade)
,Navigate(DetailScreen1, Cover,
{device:LookUp(ECTCR_Tracking, ID = Value(Param("ItemID")))}))

That code has been working all day. Then suddenly after lunch, it has stopped. I have not messed with the code in between. So I would just like a little help understanding what is happening. 

 

Thanks for the help. 

 

  • v-monli-msft Profile Picture
    on at
    Re: Email Flow action not properly linking to PowerApps

    Hi @Anonymous,

     

    Could you share more detailed information about the flow configuration also the app's?

     

    Regards,

    Mona

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,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow