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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Pass an array an retur...
Power Automate
Unanswered

Pass an array an return an array in power automate

(0) ShareShare
ReportReport
Posted on by

Dear community, I am looking for an example where I have to pass an array of emails in flow. The emails are from SharePoint list columns. I have to check each value against another list. If there exists a replacement for an email, replace in the original array else keep the email value as is. After every email is processed, return an array back to calling flow. Thanks in advance.

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Vaibhav_k 

     

    need some clarification 🙂

     

    1. Are you attaching emails to a sharepoint list items?

     

    2. what does list contains to which you comparing each email ?

     

    3. what you meant by return an array back to calling flow ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Vaibhav_k Profile Picture
    on at

    Hi @Nived_Nambiar 

     

    1. Are you attaching emails to a sharepoint list items? Yes

     

    2. what does list contains to which you comparing each email ? It contains information about delegation users when user is on leave, user email, delegated to email, from date and to date

     

    3. what you meant by return an array back to calling flow ? Basically create an array with new updated values

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Vaibhav_k 

     

    How you are trying to compare each email with list, still not getting that point ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Vaibhav_k Profile Picture
    on at

    Hey @Nived_Nambiar basically email contained in array should be searchable in username column under the list. if there exists user email which is also part of array then pick up corresponding email from delegate to email and replace it in the original array in place of original user email. If there is no occurrence, the item at that index in array should remain as is.

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Vaibhav_k 

     

    so its like comparision b/w two list and the updating attachments accordingly in first list , am i right ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Vaibhav_k Profile Picture
    on at

    Hi @Nived_Nambiar that’s correct. Constructing an array of emails from first list columns and then compare against the second list and updating first list column values

  • Vaibhav_k Profile Picture
    on at

    Hi @Nived_Nambiar is there a way to achieve this?

  • Vaibhav_k Profile Picture
    on at

    Dear community, I am struggling a bit here. Can someone assist here?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard