Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Business Rule - Development vs Live Environments

(1) ShareShare
ReportReport
Posted on by 59
Hi All, 
 
I have a weird issue I am trying to debug surrounding business rules. 
 
I will first stipulate that this business rule works perfectly fine in Development, but for some reason it doesn't work 100% in my other environments (Test, Prod). 
 
For clarity, the purpose of the BR is to hide/unhide a specific field 'Sub Category'. 
 
Its a very specific issue. Here are my business rule conditions:
 
(Category Equals [Events]) OR (Category Equals [Permissions]) OR (Category Equals [Registry]) OR (Category Equals [User Files]) OR (Category Equals [Device Data]) OR (Category Equals [Windows Config])
 
 
What I am finding is, this doesn't seem to evaluate OR (Category Equals [Windows Config])

I.e On my form for the table, the 'Sub-Category' field appears correctly when the 'Category' is set to any of the other values apart from 'Windows Config'. 
 
I can confirm that the string exactly matches what is it expecting. 

Here's the thing though, if I swap the order of my BR conditions to this:
 
(Category Equals [Windows Config]) OR (Category Equals [Permissions]) OR (Category Equals [Registry]) OR (Category Equals [User Files]) OR (Category Equals [Device Data]) OR (Category Equals [Events])
 
 
Everything evaluates apart from OR (Category Equals [Events]), in this one, even 'Windows Config' is working, which is what triggered the investigation into the cause. 

My question is, it seems like my BR is simply not evaluating the last condition, no matter what it is. 
 
Anyone experienced this before or have come across something similar?

Thanks, 
 
Ryan

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard