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 / Powerapps deep linking...
Power Apps
Unanswered

Powerapps deep linking issue for another approver email not working

(0) ShareShare
ReportReport
Posted on by 212

I created a PowerApps form to submit trade submissions for approval referencing reza's video here ((27) How to create Approval Forms in Power Apps - YouTube.


When I test with my self as the approver, I can select the PowerApps deep link in the email - it goes to directly to the trade review screen which is pre-populated form. There I can approve the request.

 

When I update the test case in the power automate workflow with another email address as the approver email address and they select the link they are re-directed to a new form instead of the original submission for approval.I

Here is what I have on the App  Start Screen: 

If(
!IsBlank(Param("ID")) && LookUp(
'Trade PreApproval Form',
ID = Value(Param("ID"))
).ApproverEmail = User().Email,
TradeReview,
TradeReqForm
)

 

Form (TradeReqForm) Submit OnSelect property:

 

If(
Form1.Valid, // Check if the form is valid
If(
!IsBlank(DataCardValue6.Text) || !IsBlank(DataCardValue9.Text),
SubmitForm(Form1);
Set(varNewRecordID, Form1.LastSubmit.ID);
Navigate(EndScreen),
Notify("Please complete the required fields", NotificationType.Error)
),
Notify("Please complete the required field", NotificationType.Error)
)

 

Form (TradeReqForm) OnSuccess:

'TradeSubmission-PROD'.Run(varNewRecordID);

 

TradeReview Screen, OnVisible property:

 

If(
!IsBlank(Param("ID")),
Set(
varItem,
LookUp(
'Trade PreApproval Form',
ID = Value(Param("ID"))
)
);
Set(
varFormMode,
FormMode.Edit
)
)

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,257 Most Valuable Professional on at

    Hi @mthiru_0023 ,

    Firstly, you do not need to look at any code other than this

    If(
     !IsBlank(Param("ID")) && 
     LookUp(
     'Trade PreApproval Form',
     ID = Value(Param("ID"))
     ).ApproverEmail = User().Email,
     TradeReview,
     TradeReqForm
    )

    which simply says that if

    • there is an incoming Parameter ID AND
    • the ApproverEmail field in the record in 'Trade PreApproval Form' with this ID is the logged-in user's email

    then open the TradeReview Screen or if not, open the TradeReqForm Screen.

    Two things here

    • Ensure you have the exact email in particular case (John.Smith@abc.com is not john.smith@abc.com)
    • Re-check the data on the ID being sent

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • mthiru_0023 Profile Picture
    212 on at

    @WarrenBelz 

    Thanks Warren for your response. I checked the email and it's verified. Strange thing when I create a form using an Admin account, and set myself as the approver I can approve as it takes me directly to the prepopulated form.

     

    The Test users experiences the same thing. When he submits and he himself is an approver he is able to go directly to the Trade review to submit approval.

     

    I am checking the ID and it's getting set in the email so that too seems be as expected as well.

     

    I moved the Variable for varNewRecordID to OnSuccess of Form1.

    Set(varNewRecordID, Form1.LastSubmit.ID);
    'TradeSubmission-PROD'.Run(varNewRecordID);

     

    <a href="https://apps.powerapps.com/play/e/default-46b19e48-734d-4bea-8a5a-ab12fbe8adc3/a/df6de2ef-68a9-4bf8-b2b5-6951c668ebee?tenantId=46b19e48-734d-4bea-8a5a-ab12fbe8adc3&hint=e3ce678a-23b3-4d48-9794-35550bea4352&sourcetime=1704304458124&ID=70"

  • mthiru_0023 Profile Picture
    212 on at

    @WarrenBelz 

     

    On Form2 (TradeReview screen) Item is set to varItem. Maybe I need to modify this with if condition. I am looking at some of your other posts and considering that option.

    VarItem is set when a user selects NextArrow on the Gallery from AllRecords Screnn: Set(varItem, ThisItem)

     

  • WarrenBelz Profile Picture
    155,257 Most Valuable Professional on at

    @mthiru_0023 ,

    I assume you are still testing as there is not much more I can add presently.

  • mthiru_0023 Profile Picture
    212 on at

    I think the issue may have been due to a restriction on the SP list. In advanced settings, settings changed to Read items that were created by the user.

    mthiru_0023_0-1704803154504.png

     

  • WarrenBelz Profile Picture
    155,257 Most Valuable Professional on at

    @mthiru_0023 ,

    Yes that may cause some issues, but your fundamental issue is the navigation, which comes before this.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,070

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 608

Last 30 days Overall leaderboard