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 / Dynamic Content not re...
Power Automate
Unanswered

Dynamic Content not rendering

(0) ShareShare
ReportReport
Posted on by 26

I have a scheduled flow which is designed to check once a day for any shifts without people assigned using Shifts for Microsoft Teams. I list shifts, then I check if the open slot count > 0 if yes, I post the following message to the teams channel:

 

 

"@General There is an open shift at formatDateTime(@{items('Apply_to_each')?['sharedOpenShift/startDateTime']} , 'dd-mm') is anyone free to cover it?"

 

However, the message is posting into teams as the literal formula above. Why isn't it rendering the dynamic content. Even if I remove the formatDateTime(), I still get the same result. Screenshot 2020-12-14 at 17.28.13.pngScreenshot 2020-12-14 at 17.28.04.pngScreenshot 2020-12-14 at 17.51.53.png

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @itsmelmon 

     

    As you are passing it directly as text in the text block, it is not evaluating the expression. In the Message option for the Post a message as a flow bot to a channel, rewove the expression from the base text and then put the cursor after "shift at" and switch to the expressions and then place the entire thing there after getting rid of the '@' and curly braces. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • itsmelmon Profile Picture
    26 on at

    @yashag2255  Thanks for coming back to me. I have followed those instructions, please see the screenshot.

    Screenshot 2020-12-17 at 14.58.24.png

    However,  it is still rendering the raw text "

    @General There is an open shift at @{formatDateTime(items('Apply_to_each')?['sharedOpenShift/startDateTime'] , 'dd-mm')} is anyone free to cover it?"
  • itsmelmon Profile Picture
    26 on at

    @yashag2255 Just wondering if you had any other advice on this?

     

    Thanks.

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
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard