web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Removing all null from an array

(0) ShareShare
ReportReport
Posted on by 8

In Power Automate, I have an array as all responses from a start and wait approval flow (all needs to response). A 'null' value gets added for any approver past time out setting, as you see. How do I remove such 'null' entries in the array. Note 'null' is not seen as an item. Any help is appreciated,

 

[
{
"Responder-Name": "Jack Dril",
"Response Date": "07 April 2024 19:27",
"Action": "Sign-off",
"Comments": "I had a look"
},
null
]

 

I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    11,473 Super User 2025 Season 2 on at
    Re: Removing all null from an array

    Hi @Sushil1 ,

     

    You should be able to use the Filter Array action to remove null values:

    Snag_24606e3d.png

     

    Snag_2463a711.png


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site

  • Sushil1 Profile Picture
    8 on at
    Re: Removing all null from an array

    Thanks ekarim2020! The null expression did the trick.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard