Aug 17 2022 05:24 PM
I have 2 lists, I would like to connect the notes from one lists to another list. The source list has a list of names with corresponding notes. The second list has column which is connected to this list and is selectin the names from this list. I would like to have some sort of a lookup that would take the notes from list one and copy it into list 2. The problem is that list 2 has field that can select multiple names in this column so its not an easy lookup.
List 1:
List 2: I have to blind the names but you can see that there can be 2 names in this Update columns. So it would have to look up the 2 names in this columns and bring in the notes from list one. The problem is how do I append the notes related to these 2 people and bring it to one column. Please help. First I would like to copy the notes and then as we add items I want to have this done automatically
Maybe if someone can get me started I can slowly see if I can get it to work.
Please and thank you.
Aug 18 2022 02:51 AM
@VeeExcelLearn This is a limitation of SharePoint lookup columns. You cannot extend multiple lines of text columns using lookup settings. You can only extend below column types:
Documentation: Create list relationships by using lookup columns
For your scenario, follow below approach:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 18 2022 11:41 AM
Having a little bit of trouble. It started to do an apply to each. It doesn't like to variable. I probably messed something up for sure.
Aug 18 2022 10:35 PM
@VeeExcelLearn Use "Initialize variable" action before Apply to each and use "Append to string variable" action inside Apply to each.
Use this variable to update column in destination list.
Are you trying to update single item or multiple items in destination list? Why are you using second Apply to each loop?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 19 2022 03:44 AM - edited Aug 19 2022 04:08 AM
@ganeshsanap When I try to add the notes it puts it like this and it doesn't see the initialize variable. Its forcing me to the apply to each.
What I am trying to do is is take multi-line notes from a multi line column to another multi line column.
Parent:
Child:
This is the Child List. Recruitment Notes placeholder for input from Parent.
The flow would look up notes for Faiz and Allie and bring in both notes from parent list:
These are the parent notes: Far right column.
Aug 19 2022 04:18 AM
@VeeExcelLearn Configure your power automate flow in this way:
This is just an example (column names in actions might be different). You have to first initialize the variable with blank value & then append "Notes" to this variable inside apply to each loop. Then update the column in list 2 outside apply to each loop.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 19 2022 04:40 AM
Aug 19 2022 04:45 AM
@VeeExcelLearn Use ID from trigger outputs & not from Get items action:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 19 2022 05:33 AM
@ganeshsanap Getting closer : The flow is creating 2 lines...and appending ALL of the notes from the parent list into these 2 lines. But its not matching ibrahim and Samer.
Aug 19 2022 05:49 AM
Solution@VeeExcelLearn As it is a single text column where you are adding multiple notes, it will not match automatically with another column (lookup).
My suggestion:
While appending notes to the string variable, append the name of user who added note as well like <name of the user>: <note> ....
For example:
Ibrahim: Note text added by Ibrahim
Samer: Note text added by Samer
You have to build your string variable in this way. You can take help from Microsoft documentation: Reference guide to workflow expression functions in Power Automate
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 19 2022 06:10 AM - edited Aug 20 2022 07:25 AM
After many trial and errors I finally got it to work. Here is what I ended up doing. Thank you for your guidance.