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 / Auf alle anwenden fehl...
Power Automate
Unanswered

Auf alle anwenden fehlgeschlagen- Typ Boolean

(0) ShareShare
ReportReport
Posted on by 3

The execution of template action 'Auf_alle_anwenden' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/hasAttachments']' is of type 'Boolean'. The result must be a valid array.

 

Ich habe gerade erst mit Power Automate gestartet und verstehe das Problem nicht, bzw. weiß nicht wie ich das Problem beheben kann.

Kann mir jemand einen Tipp geben?

Danke 🙂

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    Die "foreach" variable ist normalerweise ein JSON array, und "Auf alle anwenden" geht durch alle Array Mitglieder durch.  In Deinem Fall scheinst Du kein array angegeben zu haben, sondern ein scalar Ja/Nein Feld (hasAttachments). Da kann man nicht drüber iterieren...

     

    Instead of using the "hasAttachments" source use the "Attachments" source.

  • Stephan_Schmidt Profile Picture
    3 on at

    Vielen Dank! Ich muss mich da erst noch weiter hineinfinden.

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 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard