cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Glaga
Helper I
Helper I

Send email with multi attachment from multi list sharepoint

Hi, 

I have 3 sharepoint list (linked by a powerapps):
* Job
* Applicant
* Recruitment action

 

I would like to send an email to the recruiter when the "Recruitment action" list changes to status: "ITW"

In this email I would like to include the candidate's CV (List: Applicant) and the job announcement (List: Job)

 

So we should:
0. Trigger: when the "Recruitment Action" List is modified
+ State = ITW

 

1. recover the Job file in the Job list

 

2. recover the CV file in the Applicant list

 

3. Send an email with PJ:
- CV file
- the job file

 

 

I don't know how to recover the file on a different list than the trigger.
Namely the "Action Recruitment" list also includes 2 columns:
* Job ID
* Applicant ID

 

 

Can you help me?

1 REPLY 1
ScottShearer
Super User
Super User

@Glaga 

To retrieve related items from another list, you'll want to use one or more  Get items actions to retrieve items from the other list.  In your get items action, you'll use a query filter so that only items that meet your criteria are returned - where Applicant ID equals the Applicant ID of interest or Job ID equals the Job ID of interest.  If you do this right, each Get items action will return a single row of data.

For more information, see this blog post.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,264)