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 as a p...
Power Automate
Answered

Dynamic content as a parameter for actions()

(0) ShareShare
ReportReport
Posted on by 8

Does the "actions()" expression not allow dynamic content for its parameter?

 

I'm getting this error when I try to save a flow with the expression "actions(items('Apply_to_each_3'))" inside a Compose action within an Apply to Each action.

 

"Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The template action 'Compose_5' at line '1' and column '6644' is not valid: "The template function 'items' is not expected at this location.""

 

I've also tried simple test flows with a similar result. It only seems to accept a hardcoded string.

lhewitt_0-1716565071465.png

 

Categories:
I have the same question (0)
  • Verified answer
    DJ_Jamba Profile Picture
    2,837 Moderator on at

    Hi @lhewitt 

    Unfortunately not. There is no evaluate function or similar, you have to supply/hardcode a string i.e. you can't dynamically supply its input 

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 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard