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

Notifications

Announcements

Community site session details

Community site session details

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

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,241 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard