Skip to main content

Notifications

Power Automate - General Discussion
Answered

Skip the last 5 lines from compose action

(0) ShareShare
ReportReport
Posted on by 49

I would like to skip the last 5 lines in a compose action. If I use -5 as the integer to skip it fails. Any idea how to skip in reverse order?

  • RobertJames Profile Picture
    RobertJames 49 on at
    Re: Skip the last 5 lines from compose action

    Thanks @v-yueyun-msft , will give that a try

  • Verified answer
    Re: Skip the last 5 lines from compose action

    Hi , @RobertJames 

    You can try to use this expression:

    reverse(skip(reverse(   outputs('Compose')    ),5) ) 
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard