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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps Approval
Power Apps
Answered

Power Apps Approval

(0) ShareShare
ReportReport
Posted on by

Hi,

 

Would anyone be able to help?

 

I have a Power App connected to a SharePoint List. When someone submits a new item it updates the SharePoint List and generates an approval Flow.  This works well but I cannot figure out  how I can add a link to the specific item being approved so the approver can click on the linked item from the email (see attached), and see details of what they are approving. 

 

Does anyone know how I can do this. Sorry, 

 

Many thanks

Kieran

Categories:
I have the same question (0)
  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Assuming you use Teams Approval and the trigger is when you create a SP Item, you have a field that is called "link to item"

    Add that field to the approval

     

    It will work. 

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

  • Community Power Platform Member Profile Picture
    on at

    Hi Gonçalo,

     

    Thank you for the reply.

     

    The trigger comes from PowerApps. Once the submit button is pressed it updates SharePoint List and runs the Flow. Is not possible to grab the SharePoint item ID this way? I have seen some articles around deep linking, but not sure if I am on the right track.

     

    Many thanks

    Kieran

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Yes, you need to ask that field in the flow and, after that, you get the item with that id

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

  • Community Power Platform Member Profile Picture
    on at

    Sorry to ask, but I don't suppose you have links to any tutorials or  examples on how to do this?

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    In flow:

    Nogueira1306_0-1637853959431.png

     

    In Power apps:

    Nogueira1306_1-1637854189532.png

     

    I am using that in a Gallery but you use whrn you update the item. Jsut make sure you send the ID the right way

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

  • Community Power Platform Member Profile Picture
    on at

    Hi,

     

    Thank so much for your help, but still could not get it to work. Here is the run command from my PowerApp. Where would I input compose? as think I am adding in wrong place.

     

    Sendapprovalandfollowupviaemail.Run("someemail@whoever.org.uk", User().Email, Form2.LastSubmit.ID, Form2.LastSubmit.Title)

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    So, you are already sending some variables into flow. Ask another one that is the ID.

    I always use Compose but you can use on a Initialize a var, for example.

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

  • Community Power Platform Member Profile Picture
    on at

    This is the bit I'm stuck on. I do not know how to pass it over. Please see flow and run command attached.

     

    I asked for the itemLink in my flow, but in my run command in Power Apps, I do not know the syntax to pass that over. Sorry, to ask again but am new and the terminology gets lost me on sometimes. Would you know the syntax to pass over the itemLink?

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    The problem is the in the flow. You ask the ID to go get the item.

    So.

    Step 1. Ask Id (you can use the one have: Form3.LastSubmit.ID

    Step 2. Add a step "Get item" and add that ID you received on the ID field

    Step 3. Add an approval step

    Step 4. Add the item link that you get from Get Item step

     

    Nogueira1306_0-1637862038985.png

     

     

    Like this

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

  • Community Power Platform Member Profile Picture
    on at

    Hi Gonçalo,

     

    Really appreciate your time and help, but I still cannot get item link. I changed the flow as shown in you message, but in the run I get the error message second image. I think I close but just not passing information over correclty.

     

     

     ComposeFlow.jpgRun.jpg

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard