Filters

Hi. I want a user to select a a role in a "Roles Requested" dropdown. If that role contains the word "Contractor," roles that don't have the word "Contractor" should not be available for selection. I'm using this filter here:

filter(rule!UAF_Contractor_Test, cons!UAF_ROLES_FL)}, but it isn't working. Here's the code for my rule: find("Contractor", ri!rolesRequestedList)>0

Help is appreciated. Thanks

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to benjamins0003

    So.. I don't understand what you're actually picturing happening in this dropdown - you only want choices shown that have the word "contractor" in them, or something more complicated?  In particular, I'm finding myself confused by the logic that seems to be going on here:

    If that role contains the word "Contractor," roles that don't have the word "Contractor" should not be available for selection.

    Or are you just saying you only want options with "contractor" shown, and i'm over-thinking it?

Children
No Data