Based on your description and the Power Automate expression, it might be correct if the Activity ID within the call report link in the email description is consistently enclosed within curly braces {}.
{}
Let's break down the expression:
outputs('Compose_-_Description')
indexOf(outputs('Compose_-_Description'), '{')
{
add(indexOf(outputs('Compose_-_Description'), '{'), 1)
indexOf(outputs('Compose_-_Description'), '}')
}
slice(outputs('Compose_-_Description'), ..., ...)
However, there are a few potential issues and considerations:
indexOf
slice
To make it more robust, you might consider:
split()
To confirm if your expression is working correctly for your specific scenario:
If the Activity ID is reliably within single curly braces, your expression should work.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 258
MVP-Daniyal Khaleel 179
Tom_Gioielli 129 Super User 2025 Season 2