Skip to main content

Notifications

Community site session details

Community site session details

Session Id : NfVXLri6cpYH8gOEjYjsAD
Power Automate - Building Flows
Unanswered

Replacing "Apply to each" with "Apply to each (That equals this ID)"

Like (0) ShareShare
ReportReport
Posted on 14 May 2019 23:39:25 by 12

Hello Flow Community,

I am attempting to modify an existing flow.  The Process is as follows: User fills out a MS Form, The MS Form information fills out a record on a SharePoint "Digital" list (This succeeds fine), When a new item is created in that List it will trigger a Date value in another "Master" list (This doesn't work as intended).  

I am using an "Apply to Each" action to reference the ID on the "master" list, then update a specific column with the date value.  What it does, is it auto generates the date value into all records for that list.  I have users produce their name on the MS form and i would like that produced name to reference the name on the "Master" list via the "Digital" list.

Flow does not recognize Form dynamic content far enough to make that connection.  How do I make this connection without force filling all records in my "Master" list?


Capture.PNGCapture1.PNGCapture2.PNGCapture3.PNG

  • YYZENTHAL Profile Picture
    12 on 20 May 2019 at 21:52:52
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

    After more testing, I have found my problem.  I have no idea how to reference the data in the look-up column.  The "Digital" column is a string and it does not equal the look-up in the "Master".  What is the value of look-up columns and how can i reference them in Flow?  The look-up is referencing a Single-line text column from another list.  So in general this is what doesn't work. 

     

    List 1(Single-Text column) -> List 2(Look-up column) =/=  List 3(Single-text column)

     

    I imagine it looks like this in the code,

     

    List1.Column.Text -> List2.Column.Value =/= List 3.Column.Text

  • YYZENTHAL Profile Picture
    12 on 20 May 2019 at 18:18:05
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

    The intention for this flow was to copy it for multiple uses.  The idea is that a dozen lists will be referencing this "Master".  I do not want my Index to circle back and reference the same list it is trying to pull data from.  That is a 1:1 relationship I am attempting to make a 1:10 relationship.

  • v-zhos-msft Profile Picture
    on 20 May 2019 at 02:14:54
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

    Hi @YYZENTHAL ,

    You should set lookup column infromation from the"Digital" list.

    Capture.PNG

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • YYZENTHAL Profile Picture
    12 on 17 May 2019 at 16:56:21
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

     

     

     

    Here is the newest addition to the Flow.  With the condition added.

    Capture4.PNG

     

     

     

    I will only provide a screenshot of the column settings.  I don't want to cover 100s of datapoints.

     

    Here is the Column from the "Master" list

    Capture5.PNG

     

    And here is the Column from the "Digital" list.  These are the only two columns that i need to be equal to each other.

     

    Capture6.PNG

     

     

  • v-zhos-msft Profile Picture
    on 16 May 2019 at 10:01:32
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

    Hi @YYZENTHAL , 

    Could you please share a screenshot of your flow's configuration?

    Could you please share a screenshot of the "Digital" list and the "Master" List.

    I am afraid I need more details to analysis for you.

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • YYZENTHAL Profile Picture
    12 on 15 May 2019 at 16:41:49
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

    Ok the the condition seemed to work.  The Data that I need to equal each other is a Text Column in the "Digital" list and an Indexed look-up column in the "Master" List.  I guess they don't natively, the condition returns a false value.  Is there a conversion that i can do within flow?  Am i making this too hard?  This has pushed the limit of my understanding of Flow.  I normally do not touch the expressions and what not.

     

  • v-zhos-msft Profile Picture
    on 15 May 2019 at 08:08:35
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

    Hi @YYZENTHAL ,

    I am afraid you need a related column between  "Digital" list and "Master" list.

    For example in these two column, they all has a 'User' column with the same value.

    Then you can get the specific item you want to update in "Master" list via the 'User' column value.

    Capture3.PNGCapture4.PNG

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • efialttes Profile Picture
    14,756 on 15 May 2019 at 01:37:05
    Re: Replacing "Apply to each" with "Apply to each (That equals this ID)"

    @YYZENTHAL 

    Just after Sharepoint "Get items" action block and before "apply to each" I would suggest to use a "Filter array" action block (more information here)

    Hope this helps

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 55

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 39 Super User 2025 Season 1

#3
VictorIvanidze Profile Picture

VictorIvanidze 26

Overall leaderboard