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:
  • Verified answer
    rzaneti Profile Picture
    4,489 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard