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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can I turn an arra...
Power Automate
Unanswered

How can I turn an array into a single value or a string?

(0) ShareShare
ReportReport
Posted on by 3

So, currently there is no search for 1 user option, but users in plural. Therefore, the outpur is an array of many values, you can limit to 1 but still an array.

user search.PNG
I need to look for 3 users, from an excel. One of the fields may be blank. So when I add a Convert to string step, it does so inside 3 boxes of apply to each. The Filter action is also useless since you need to specify the criteria, what if I want to filter only the first matched value? You cannot do that now.
So for a single email I have this nightmare:

pantalla.PNGcondition.PNG

 

Even for the condition when I would like to split if I have a blank value it gives me the "Aplly each" feature in loop.

Is there a way I can delete values from an array and turn it into a single output?

 

Thank you so much

 

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @Catalina2 ,

    You create a string variable and append the values to it in a loop.

    Manage looping when dealing with multi-choice fields - Powering your Apps (sudeepghatak.com)

    Hope that help!

     

  • Catalina2 Profile Picture
    3 on at

    Hi Sudeep! Thanks for your answer! It is quite helpful only that when I apply these string steps they go inside 3 apply to each boxes, related to the 3 "Search for users (V2)" that I have on previous steps.

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    What fields are you picking? I will try at my end

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard