cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Johnathon_S Helper II
Helper II

Flow deep link to PowerApps stopped working correctly

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/d647d522-3638-45c9-9472-afd5ff12ac0e?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. 

 

PS: The guys over at the PowerApps forums told me to ask you. 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Flow deep link to PowerApps stopped working correctly

Hi Johnathon_S,

 

I saw you have posted the same issue on PowerApps Forum and you have already found a solution.

 

The thread link is:
https://powerusers.microsoft.com/t5/PowerApps-Forum/Deep-linking-from-Flows-stopped-working/m-p/6498...


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Flow deep link to PowerApps stopped working correctly

Hi Johnathon_S,

 

I would like to know how is your flow created? And how long has it been created?


According to your description, flow will send user an email and there is a link in the email. By clicking the link, user will be navigated to the screen on an app.


Seems that there is nothing wrong with the code. Please try to recreate the flow to see if it will work.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support
Community Support

Re: Flow deep link to PowerApps stopped working correctly

Hi Johnathon_S,

 

I saw you have posted the same issue on PowerApps Forum and you have already found a solution.

 

The thread link is:
https://powerusers.microsoft.com/t5/PowerApps-Forum/Deep-linking-from-Flows-stopped-working/m-p/6498...


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Did you attend MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’ve streamed the digital event live, or you're watching on-demand, claim your attendee badge to sport on your profile.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (5,087)