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 Apps / dynamic conditions in ...
Power Apps
Unanswered

dynamic conditions in Power Apps possible?

(0) ShareShare
ReportReport
Posted on by 482

Dear community

 

I'm building an app in which users can create their own conditions. E.g. a user might select something like the following:

mrQ_0-1667819483442.png

 

I'm saving these dynamically created conditions in a SharePoint list like this: 

{Title}#{Equals}#{Demo}#{Or};{Title}#{Contains}#{Test};

 

Before a new item is being created, I would need to loop through all dynamically created conditions and fill in the variables. E.g. if my "title" field would be "hello test", the outcome would need to be something like:

"hello test" Equals "Demo" Or "hello test" Contains "Test"

 

I would then need to validate this condition. In above case, the result would need to be true since "hello test" contains "Test".

 

Does anyone know if something like this is possible in Power Apps/Power Automate? I couldn't figure out how... since I can't declare a variable to be a condition.

 

Right now I'm solving this with an azure function calling a PowerShell, but I'd much rather have everything in Power Apps/Power Automate.

 

Thanks and kind regards,

Categories:
I have the same question (0)
  • Akser Profile Picture
    1,546 Moderator on at

    Hi @mrQ,

     

    I would use the 'Send an HTTP request to SharePoint' action in PowerAutomate as it allows you to dynamically set the Uri. 

  • mrQ Profile Picture
    482 on at

    Hi @Akser 

     

    Thanks for your response.

    Unfortunately, it wouldn't work with "Send an HTTP request to SharePoint" as the string being saved in the SharePoint list is

    {Title}#{Equals}#{Demo}#{Or};{Title}#{Contains}#{Test};

    and not the already-resolved string that I need to check against.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard