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 / creating an array from...
Power Automate
Unanswered

creating an array from manual inputs (button or from select item)

(0) ShareShare
ReportReport
Posted on by 3

Hi, I'm trying to use the inputs available from the "Manually trigger a flow" or "For a selected Item" trigger and create an array from this.  However, other than the 1st input (all numbers btw - I have 15 possible), all other 14 are option fields to enter information into.

 

Using compose, I can get the values that are in these inputs boxes.   The input boxes that are left empty show up as "",.  How can I remove these instances of "", from the output and only be left with the values that are inputted by the user?   I am trying to run an array here,  and have a user input values of contract reference number and run a specific flow against these contract IDs.  I'm essentially building it so that up to 15 contracts can be done at once which should fit our requirements.

 

gauthierje_0-1662574308047.png

gauthierje_1-1662574350429.png

 

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at

    Hey @gauthierje .

    For this you can initialize a variable and as string type. Don't give any value to it.

    Then run a apply to each loop, with the array as input. 

    Then take a condition action.

    In the condition action take current variable not equal to the variable you created above. 

    For if yes, make a compose and add current value in it. This will give you your answer.

    I hope it helps, if you have any doubts just reply.

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @gauthierje 

     

    Use Filter Array

    Kaif_Siddique_0-1662575724039.png

     

    Let me know if any queries.


    If you like my response, please give it a Thumbs Up.
    If this helps, please Accept as solution.

     

    Regards
    Kaif

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard