Employee Group Criteria of Not Having UserField

Sort:
You are not authorized to post a reply.
Author
Messages
Woozy
Veteran Member
Posts: 709
Veteran Member
    I need to create an Employee Group that has a number of criteria.  One of the requirements is that an employee can be a member of the group if they DON'T have a specific UserField value.

    For Example, something like:

      Union=N
      UserField "Vesting" = from 1 to 9
    OR
      Union=N
      UserField "Vesting" {does not exist}

    Is there a way to do this?  Can I use *BLANK as the value or something?

    Thanks!

    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    Karen Ploof
    Veteran Member
    Posts: 118
    Veteran Member
      Would this work?

      Include: Union=N 
      Include: UserField "Vesting" = from 1 to 9

      OR

      Include: Union=N
      Exclude: UserField "Vesting" = from 1 to 9

      Woozy
      Veteran Member
      Posts: 709
      Veteran Member
        Hi Karen,

        Ahhh...that makes sense.  The issue is that there may be other valid "Vesting" values above 9 - like 10, 27, 44, etc. - that aren't between 1 and 9 and that I would not want it to include.  I suppose if I 'exclude' all the possible valid values for "Vesting", then that would be perfect!  Something like this:

        Include: Union=N 
        Include: UserField "Vesting" = from 1 to 9

        OR

        Include: Union=N
        Exclude: UserField "Vesting" = from 0 to 999

        I think that will work.  I'll have to test to be sure.  Thanks!
        Kelly Meade
        J. R. Simplot Company
        Boise, ID
        Dave Curtis
        Veteran Member
        Posts: 136
        Veteran Member
          I would actually build one group that has criteria to include everyone with the values you want excluded from the group. Then use that group as criteria in your final group to exclude them. Because you may want to include anyone with no value in the user field, this may be your best method.
          Woozy
          Veteran Member
          Posts: 709
          Veteran Member
            Thanks Dave.  That's another good option.  I'll explore this as well.

            Thanks!  Kelly
            Kelly Meade
            J. R. Simplot Company
            Boise, ID
            You are not authorized to post a reply.