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 / Phone numbers in Power...
Power Automate
Unanswered

Phone numbers in Power automate devided for parts

(0) ShareShare
ReportReport
Posted on by

Hi, I'm looking for solutions with phone numbers. I have a bit more than 3000 phone numbers and I want to devide them for 6 parts where one of them counts 500. Problem is when I do this operation with function "

take(outputs('Compose_2'),div(length(outputs('Compose_2')),5))" i takes properlu 499 phone numbers and last phone number is not valid for example: 123 456 789 and outcome of this last number is 123 45. Do you know how to devide them and how to take these parts to process further in flow.
Flow look like this:
buszi99_1-1665999096489.png

 


Compose 2 - I store there phone numbers

buszi99_3-1665999178097.png

 

Compose 4 - it's the outcome of function "take(outputs('Compose_2'),div(length(outputs('Compose_2')),5))"

Phone numbers are randomly generated

Outcome with numbers

buszi99_2-1665999155214.png

And as you can see last phone number is not complete

 

Best Regards 
Kamil
Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @buszi99,

    Do you want to divide your phone set into 6 groups of 500?

    The reason why you have this problem is that your phone sets a string, and when you use take() you can only get the preceding characters.

    I recommend using chunk() to group them. Before this, use split() to distinguish each phone number.

    I did a test for you to see, in my scenario I have 10 phone numbers and I divided them into 5 groups of 2.

    chunk(split(outputs('Compose'),','),2)

    Here you could replace the number 2 with 500 in your screnario.

    vqiaqimsft_0-1666078651580.png

     

    vqiaqimsft_1-1666078651588.png

     

  • buszi99 Profile Picture
    on at

    I will try this, but second question is: for example how i can take the other parts of this phone numbers to paralel branches ?

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard