Skip to main content

Notifications

Community site session details

Community site session details

Session Id : z6OPXxWfWrqGBBN6ZoGUa5
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 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,794 Super User 2025 Season 1 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started