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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Check whether the stri...
Power Apps
Unanswered

Check whether the string contains data

(0) ShareShare
ReportReport
Posted on by 14

Hi

 

I have initialized the string variable and I am collecting the approvers in the list item in the string variable.

I have to run the approval action only if the string contains data. I need to check whether the string variable contains data or not.

 can anyone help on this case.

 

Categories:
I have the same question (0)
  • C-Papa Profile Picture
    1,836 on at

    hi, you can use IsBlank function

    If(IsBlank([YourVariable/control]),SubmitForm(Form1),SubmitForm(Form2))

     

    i have used form1 and form2 as example, you can replace this with your code of what you want to execute. Form1 would be if the string is blank, Form2 for non blank.

  • zebroM Profile Picture
    14 on at

    Hi, Thanks for the reply.

    I need to check in the power automate. When the item is modified or created, my flow will trigger.

    Then I will collect the approvers in my list item to the variable.

  • C-Papa Profile Picture
    1,836 on at

    ok, sorry, just use a condition in (Yes / No) and put your Variable  is equal to [then don't type anything in on what it should be equal to]

     

    CPapa_0-1644399325510.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard