cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Falhuddin
Frequent Visitor

Find Missing Number in Array List

Hi, I have a flow that can find missing number in Array list.

But it's use many API calls (Can exceed API usage) and took long time to run (20~30 minutes).

Below is my flow figure :

Falhuddin_0-1621818312246.png

I use "Do Until" step to lookup missing number in array.

1) Define 1st Number (eg : 12700) ---> 1st number in array

2) Do the increment (eg : 12701)

3) Search the number (12701) in the list of Array

4) Condition (If not found run certain steps. Else, search the next number)

 

Each run, estimated looping is around 1100~1700 times.

 

Is there's any way to simplify this method?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Paulie78
Super User
Super User

Hi @Falhuddin 

 

I have created a video response for you to this question:

https://youtu.be/McVEMjBQ59M

See if you can follow what I demonstrate in the flow, it is difficult to give you exactly what you need, because I cannot replicate your exact scenario, but this should give you a good start and you should find it runs more or less instantly.

Let me know how you get on, if you get stuck I will give you a copy of the actions.

 

Blog: tachytelic.net

YouTube: https://www.youtube.com/c/PaulieM/videos

If I answered your question, please accept it as a solution 😘

View solution in original post

Hi @Paulie78 ,

 

Thank you for your reply and solution.

I'll used this steps in my Flow.

This Trigger & action should reduce a lot of API.

View solution in original post

2 REPLIES 2
Paulie78
Super User
Super User

Hi @Falhuddin 

 

I have created a video response for you to this question:

https://youtu.be/McVEMjBQ59M

See if you can follow what I demonstrate in the flow, it is difficult to give you exactly what you need, because I cannot replicate your exact scenario, but this should give you a good start and you should find it runs more or less instantly.

Let me know how you get on, if you get stuck I will give you a copy of the actions.

 

Blog: tachytelic.net

YouTube: https://www.youtube.com/c/PaulieM/videos

If I answered your question, please accept it as a solution 😘

Hi @Paulie78 ,

 

Thank you for your reply and solution.

I'll used this steps in my Flow.

This Trigger & action should reduce a lot of API.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,243)