cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

fn-Or expression not working

Jump to solution

Hi,

I've added the following double expression to the visibility setting of a button control, but it appears no matter the value in the "order status" field.

fn-Or(fn-Equals(Order status,5. Load check),fn-Equals(Order status,6. Waiting for approval))


If also tried them separately, they both work fine than.

fn-Or(FALSE,fn-Equals(Order status, 6. Waiting for Approval))
fn-Or(fn-Equals(Order status, 5. Load check),FALSE)


To clarify: I want the button to only be visible when the "Order status" is equal to "5. Load check" or "6. Waiting for Approval".

What is going wrong?

Thank you.

Labels: (1)
0 Kudos
Reply
2 Replies
Highlighted
Automation Master
Automation Master

Re: fn-Or expression not working

Jump to solution

I believe that you just need to wrap your second argument in the 'fn-Equals' function in quotes. 

fn-Or(fn-Equals(Order status,"5. Load check"),fn-Equals(Order status,"6. Waiting for approval"))

View solution in original post

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: fn-Or expression not working

Jump to solution

The issue indeed lay within the string text. First off it still didn't work, but it turned out the string text also needs to be case sensitive. 

 

Thank you.

0 Kudos
Reply