Skip to main content
Nintex Community Menu Bar
Question

Conditional custom logic not working

  • Jul 9, 2024 7:43 PM UTC
  • 4 replies
  • 50 views
  • Translate All

Forum|alt.badge.img+10

I have a conditional render on a button with custom logic (1 AND 2 AND 3) OR 1 OR 4. So basically I want the button to show if 1-3 all evaluate to true or when 1 or 4 evaluate to true. 

It is almost like when you throw the “or” in there it gets messed up. I tested each condition alone and know that they are working. When they all come together they stop working. 

I have seen a few threads about issues with the custom logic on conditional rendering and am wondering if this is a bug?

4 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 9:22 PM UTC

When you say they stop working, what do you mean?  Is a javascript error thrown in the console? 

Translate

Forum|alt.badge.img+10
  • Author
  • Jul 9, 2024 9:22 PM UTC

When I say stop working I mean that the custom logic is not being followed. The button still shows even though based on the custom logic the button should not show.  

Translate

Forum|alt.badge.img+10
  • Author
  • Jul 9, 2024 9:22 PM UTC

Rob,

Do you have any update whether this is a bug?

Translate

Forum|alt.badge.img+18

Tami…

Not sure I understand your logic.

(1 AND 2 AND 3) OR 1 OR 4

That’s the same thing as

1 OR 4

Because if 1 evaluates to true, then the whole expression is true.

Are you sure you’ve written the custom logic correctly?


Translate