Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Optimize flow that using many composes and creates item. Takes over 20 hours.

(0) ShareShare
ReportReport
Posted on by 909 Super User 2024 Season 1

Hi,

 

My flow takes over 20 hours to run.

 

Anyone know how i can optimize this?

 

my flow -

wonka1234_0-1696445360610.png

 

filtering a column to eliminate N/As.

wonka1234_1-1696445367492.png

 

my compose statements are mainly like this -

 

Compose Statement - 

items('Apply_to_each')?[concat('Start ''/'' Date')]
 
2nd compose -
if(
    empty(outputs('Compose')), 
    null, 
    addDays('1899-12-30', int(outputs('Compose')), 'yyyy-MM-dd')
)

 

 

This is repeated several times for 6 or 7 date columns. Ie compose 3 and 4 will be for another date column, and so on.

wonka1234_3-1696445391169.png

 

wonka1234_4-1696445395011.pngwonka1234_5-1696445399833.png

 

  • lbendlin Profile Picture
    7,945 Super User 2025 Season 1 on at
    Re: Optimize flow that using many composes and creates item. Takes over 20 hours.

    Instead of listing the rows in the Excel table you could run a SQL query against that table which already produces the required output format for the sharepoint items

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492