web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Expression to select n...
Power Automate
Answered

Expression to select next 152 characters after 'OutlookId'

(0) ShareShare
ReportReport
Posted on by 40

Hi there Microsoft Community, is someone able to help me rewrite this expression so that it selects the next 152 characters?

 

split(body('Get_task_details')?['description'],'OutlookId=')[1]


Im trying to write a compose, but it ends up copying a lot of excess content.

Help or guidance is appreciated, Thanks!!!

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,394 Super User 2026 Season 1 on at

    Hi @SimonB2020 ,

     

    Here is an idea for your expression:

    substring(split(body('Get_task_details')?['description'],'OutlookId=')[1], 0, 152)

     

    It will capture the 152 characters after the substring 'OutlookId=' from your 'description'. If you want to change the length of your substring, you can change the '152' from the expression.

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

  • SimonB2020 Profile Picture
    40 on at

    @rzaneti thank you very much good sir!!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard