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 / Split strings in two c...
Power Automate
Answered

Split strings in two columns and create new SPO list items

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

I have the below scenario that I am struggling with

  • SPO list ("Global list") item is created where two columns holds semi-colon separated strings (ParentId and ParentName, repreesenting companies), see example below
ParentIdParentName
123;456;;789Org1;Org2;Org3
8989;;;Org4;Org5;Org6
......

 

Now, I want to create x new items in another SPO list, "Engagement list" ( whenever a new item is created in "Global list" (where x = number of companies covered in each item in the Global list, semi-colon separated). Each item needs both of the values from the Global list, i.e. it should look like:

ParentIdParentNameExtra1Extra2
123Org1TBDTBD
456Org2TBDTBD
............

 

So far, I have managed to split the strings in ParentId and ParentName, but since I only can use one of those arrays when looping a Create item, I am only able to either include ParentId or ParentName - but I need them both.

 

I figured that a new array looking something like the below would solve my problem, but I have not been successful.

ParentIdParentName
123Org1
456Org2
......

 

Appreciate any help here!

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @chrisnord :

    I've made a test for your reference:

    1\My SP list:

    vbofengmsft_0-1629449211798.png

    2\The Flow:

    vbofengmsft_2-1629449271320.png

    vbofengmsft_3-1629449343702.png

     

    The Result:

    vbofengmsft_1-1629449233287.png

    Best Regards,

    Bof

     

  • chrisnord Profile Picture
    4 on at

    Thank you - worked like a charm!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard