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 / Variable value in Powe...
Power Automate
Unanswered

Variable value in Power Automate

(0) ShareShare
ReportReport
Posted on by 45

Hi!! I initialized a variable as a string in Power Automate flow and would like to set that variable "different than zero" or "not empty". The condition is that the value cannot be null, empty, or zero. How can I do that in a simple way? 

Categories:
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @PATRICIAFP Use compose action and set its value which you are doing in variable. Then you can use expression- 

    if(empty(output('compose')),'empty', output('compose'))=> Empty value

    if(equals().....)=> For zero value

    For null you can direct check in condition.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

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