Skip to main content


 

Symptoms


When using a picker control to filter for users, we want to show all the users that DO NOT have the word "external" appended to their usernames, in other words the picker control should not return any users that have the word "external" in their usernames.

It's easy to set a filter to only return users with "external" by using the Contains filter, however there is no "Does not contain" option.
 

Diagnoses


This issue is related to the non-existent filter "Does not contain"
 

Resolution

This has been linked to an existing feature request to implement the "Does not contain" filter.

A workaround to this issue would be to use an Expression that looks like this: CONTAINS ( DisplayName , External ) ) - where DisplayName uses the SmartObject output. This would either return True or False.




 

Could anyone show me an example for this? I made the expression and it show true or false but only after selecting a user. Using it on the filter of the populate call for the picker does nothing. I need the picker to not display or have available the accounts that contain a particular string. Thank you!


Reply