web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : WgPM5CViTkjwO82ZR96MlJ
Power Automate - Building Flows
Unanswered

Flow Question

Like (0) ShareShare
ReportReport
Posted on 14 Jun 2023 19:47:42 by 1,149

I have a Flow that compares 'VehNo' from two arrays "ListVehNo" and "InspVehNo" and then appends non-common results to a third array "MissVehNo".  ListVehNo and InspVehNo are populated via Get items and append to array variables.

 

I now need to collect VehNo related info from "ListVehNo" (i.e., 'Supervisor') to send emails.  My first thought was to run a Get items where the SP List VehNo equals the MissVehNo.  I would then "Apply to each" these values and append to another array MissVehNoSupv.  values would include the VehNo and Supervisor.

{
"MVehNo": @{items('Apply_to_each_4')?['Title']},
"Supervisor": @{items('Apply_to_each_4')?['field_3']}
}

Is this the best method to accomplish retrieving the Supervisor field or is there a more efficient way?

I have the same question (0)
  • hrangel-gg Profile Picture
    173 on 14 Jun 2023 at 20:47:20
    Re: Flow Question

    If the SP list used to populate the ListVehNo is the same that has the Supervisor information you can add all needed information to the ListVehNo and then into MissVehNo upon comparison.

     

    If the lists are different you need to use get items again. You could create a filter string and run once or get all supervisors and cache it or run get items for each ListVehNo. It all depends on how many records you have.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete