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 : RVlkg4+22z8xAgZXjJIKst
Power Automate - Building Flows
Answered

Create multiple List Items from fields in a Single Form

Like (0) ShareShare
ReportReport
Posted on 31 Jul 2021 09:45:24 by 9

I have created a simple flow that creates a List item when a Form is submitted. The form is used to submit incidents during an event. Now, there may be multiple incidents during the event and I am trying to find out how to create a List item for each incident in the form. I feel I should be able to create a list item for the first incident then loop back and create another for the next until I have got to the end of the list. I am new to this and can't see an obvious way to set it up. Any help appreciated.

  • Fryerman Profile Picture
    9 on 09 Aug 2021 at 06:29:47
    Re: Create multiple List Items from fields in a Single Form

    @v-bofeng-msft Thanks. I'd not come across that. It will save me quite a bit. Much appreciated

  • Verified answer
    v-bofeng-msft Profile Picture
    on 06 Aug 2021 at 02:25:41
    Re: Create multiple List Items from fields in a Single Form

    Hi @Fryerman :

    Considering that there are fewer fields involved in your form, I think it is much more easier to use multiple "if(equals(targetfiled,")" to determine whether each field is empty.

    Best Regards,

    Bof

  • Fryerman Profile Picture
    9 on 05 Aug 2021 at 20:25:39
    Re: Create multiple List Items from fields in a Single Form

    Hi @v-bofeng-msft 

    Yes, that would work, but I have 3 other report field, which may or may not have data entered. I was hoping that there would be a way that I could perhaps read these 'report' fields into an array and loop through them so I only ran Create Item against non-empty fields. Create Item reads ALL the fields so there may be a way to get all the data on the first pass. For subsequent Writes to SharePoint I think I would have to break into the Create Item routine at the point that it Writes a new item.... 
       Anyway, apologies as I maybe wasn't clear on what I was trying to do.

  • v-bofeng-msft Profile Picture
    on 05 Aug 2021 at 03:20:25
    Re: Create multiple List Items from fields in a Single Form

    Hi @Fryerman :

    Do you want to create an item with top5 fields and reprot (Ecemptions), and then create an other item with top5 fields and reprot (Medical)?

    If so, you only need two "Create item" actions to create these two projects separately.

    Best Regards,

    Bof

  • Fryerman Profile Picture
    9 on 02 Aug 2021 at 17:46:06
    Re: Create multiple List Items from fields in a Single Form

    Hi @v-bofeng-msft 

    The form is an MS Forms Form. The screenshot will (hopefully) be at the end of this message.  Fields are simple fields, either single or multi-line text. There are 5 fields at the top which serve as Keys/information for the List item. There are 2 (at least) report fields which are multi-line text. I want to write each of these into a new List item which will include the initial 5 fields. I can sort of do it using Create New Item for each of the report fields and cycling through the process. BUT I would like to read the number of (non-empty - in case someone enters a blank) Report fields and then cycle through Create New Item. Does that seem possible?

    Fryerman_0-1627926310409.png

     

  • v-bofeng-msft Profile Picture
    on 02 Aug 2021 at 01:48:47
    Re: Create multiple List Items from fields in a Single Form

    Hi @Fryerman :

    Could you please show more details about the forms you mentioned?Some screenshots better.

    Best Regards,

    Bof

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete