AnsweredAssumed Answered

Hide a Panel using a Lookup Function in Rules

Question asked by ndavern on May 12, 2015
Latest reply on May 13, 2015 by ndavern

Hi,

 

I am trying to hide a panel using a rule with the formula below:

 

not(userEquals(Current
User
,SourcingMgrLANID))||not(userEquals(Current
User
,lookup("Approvers","ID",4,"Director LAN")))

 

The formula above is comparing the Current User to the LAN ID of two other fields, one for Sourcing Manager and one for Director. If either one of those are false (current user is not equal to field) the panel should not display. These formulas both work individually, however if I add an or() or ||, they both don't work. Does anyone know how I could resolve this? Thanks!

Outcomes