Skip to main content
Nintex Community Menu Bar
Question

Issue with rendering condition : custom logic (1 AND 2) OR (1 AND 3)

  • July 10, 2024
  • 4 replies
  • 15 views

Forum|alt.badge.img+3

I’m on Brooklyn Update 1 - Iteration 7

I have the following rendering conditions for a field ‘Transfer Other’

1: Transfer Definition = Other
2: Applies = 'Yes
3: Type = ‘Sell’

The field should render if (1 AND 2) OR (1 AND 3) - This does not seem to work even though it should

Any suggestions?

Roy

4 replies

Forum|alt.badge.img+3
  • Author
  • July 10, 2024

fr = skuid.$M(‘MyModel’).getFirstRow();
(fr.Transfer_Def__c == ‘Other’ && fr.Applies__c == ‘Yes’) || (fr.Transfer_Def__c == ‘Other’ && fr.Type__c==‘Sell’)

returns false which means the field should not be rendered


Forum|alt.badge.img+3
  • Author
  • July 10, 2024

I got it:  1 AND (2OR3) don’t know why I didn’t think of this in the first place!


Forum|alt.badge.img+2

hey Royston, nice to find u here…


Forum|alt.badge.img+3
  • Author
  • July 10, 2024

Hey Neena, great to hear from you, reminds me of the Siebel On Demand duo :)