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
Solved! Go to Solution.
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
Which value are you sending?
The compose_inputs must be Form2.LastSubmit.ID
The only step missing is 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
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
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
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
Sorry to ask, but I don't suppose you have links to any tutorials or examples on how to do this?
In flow:
In Power apps:
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
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)
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
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?
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
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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
178 | |
94 | |
61 | |
59 | |
58 |
User | Count |
---|---|
254 | |
164 | |
91 | |
79 | |
70 |