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 / Compose action skipped...
Power Automate
Answered

Compose action skipped due to Condition, but gives a null value that I do not want

(0) ShareShare
ReportReport
Posted on by 193

Hello, 
I have a flow that is checking in a source if a Sample ID exists. For all that do not exist, I am composing a list. However, for the ones that do exist, the compose action gives them a null value. 

First up is the "Apply to All" action which goes through each Sample ID to check if it exists, when it does not, a compose is created to hold the Sample ID. Once it goes through all items, I have another Compose action that takes the Outputs from all the Compose actions within the Apply to All. 

 

Sample1.png

Sample2.png

 

However, for items where the Sample ID does not exist, I get the "ActionBranchingConditionNotSatisfied" message, which is expected since the condition is not running that Compose action. But it ends up giving me the "Null" value in the final compose action. How can I stop this from happening?

 

Sample3.png

Categories:
  • Verified answer
    Jronash Profile Picture
    827 on at

    If you want to construct your array using this method, you're not going to be able to avoid those null values.  Fortunately, it's easy to remove them with the Filter array action.  Just do something like this:

    filter.png

  • CAH2035 Profile Picture
    193 on at

    @Jronash  That was perfect, thank you!

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
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard