Hi,
I have a file system setup that I need notification periodically sent when certain files haven't been responded to after a certain amount of time. I'm hung up on one detail:
How do I "Get Files" but have these files individually matched with different rows of a SharePoint by a Unique ID Column? This is in order to send emails to specific groups of people that are listed in each row
File System:
I'll be "Get Files" from anything dropped in the files above
File:
Files will look like this, the highlighted column will be the unique ID
SharePoint List for Email List:
Above is excerpt from a sharepoint list with the Emails. The highlighted column is the corresponding Unique ID. These is 1 example, there will be many different Project#s over time.
Thanks,
Solved! Go to Solution.
Hello @nmoffatt ,
you need to 'Get files' first to get only the files you want to process. Then you'll use 'Get items' on the list for Emails with 'Filter Query' below. That will give you the items from the Emails list with the same project number as the file has.
[ProjectNumber] eq '[Project #]'
Note:
[ProjectNumber] is the internal name of the column on the Emails list
[Project #] is the output from the 'Get files' action
both are placeholders that you must replace with your values
Hello @nmoffatt ,
you need to 'Get files' first to get only the files you want to process. Then you'll use 'Get items' on the list for Emails with 'Filter Query' below. That will give you the items from the Emails list with the same project number as the file has.
[ProjectNumber] eq '[Project #]'
Note:
[ProjectNumber] is the internal name of the column on the Emails list
[Project #] is the output from the 'Get files' action
both are placeholders that you must replace with your values
Hi @tom_riha ,
We're on the same page. I'd gotten that far. I need the next step, which is sending a template email (I've already made that). The email needs to have the files info attached (link, name, etc.) and be sent to the correct people on its corresponding list. For all files.
Hello @nmoffatt ,
if you've got 'Get files' (on the library) and 'Get items' (for each of the files; on the list with emails) then you should have available all the information you need to send the notification.
Got it, I think I was overthinking it. I'm hitting one last issue. All the information is correct except my variables for the emails are adding on top of each other. Ex below
First Email
Second Email
Third Email
For every file, it adds to the variable. is there a way to clear the variable or overwrite it everytime?
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
88 | |
58 | |
42 | |
37 | |
36 |
User | Count |
---|---|
85 | |
72 | |
61 | |
56 | |
40 |