Skip to main content
Community site session details

Community site session details

Session Id : aFqb1lMXGw9GSD5mZC7HHp
Power Automate - Building Flows
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 4 Oct 2023 18:53:05 by 911 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
    8,111 Super User 2025 Season 2 on 04 Oct 2023 at 22:51:46
    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

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
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete