Select to view content in your preferred language

Why does Note types only work with 1 relevant statement?

245
1
11-03-2022 09:13 AM
neomapper
Frequent Contributor

Why does Notes only work with 1 relevant statement? The moment I add additional OR statements to the note relevant it doesn't work. I want to block certain users from seeing notes

 

Example: 

selected(${Assignment_Status},'Assigned') and selected(${Department},'Sales Department') and string-length(${Work_Required})>0 and string-length(${Office})>0 and string-length(${office_worker})>0 and string-length(${PaperworkATTACH})>0 and not(selected(${active_username}, 'neomapper1'))

or

selected(${Assignment_Status},'Assigned') and selected(${Department},'Sales Department') and string-length(${Work_Required})>0 and string-length(${Office})>0 and string-length(${office_worker})>0 and string-length(${PaperworkATTACH})>0 and not(selected(${active_username}, 'neomapper1'))

Tags (2)
0 Kudos
1 Reply
DougBrowning
MVP Esteemed Contributor

This looks right and should work.  May be something else going on.  Are any of these numbers?  I have seen string-length be picky on these.  I think = 0 helped but not sure.

Posting the form makes its easier to troubleshoot.

0 Kudos