FIM Criteria-Based Groups Filter Question
Good Afternoon! I work with a school district and I need to build criteria based groups for the teachers at each location. They need to include people that are explicitly assigned to those locations and people who have the location in the "notes" field. I am trying to create a filter that will perform the following: Office location is XXX Jobcode is 111 Jobcode starts with 22% OR Office Location starts with xx% Jobcode is 111 Jobcode starts with 22% So far, I've got the first part working. It looks like: /Person[(OfficeLocation = '001') and ((starts-with(JobCode, '810%')) or (starts-with(JobCode, '811%')) or (JobCode = '8120') or (JobCode = '8121') or (JobCode = '8122') or (JobCode = '8125') or (starts-with(JobCode, '819%')))] This filter works, but only catches the explicitly assigned people. What I have a problem with is adding the second part. When I do that, it switches everything to the same level.. Which adds tons of people to the group. Any help would be fantastic..
July 12th, 2011 4:58pm

There's a couple of ways to attack this. Here's one you might be able to use- Step 1- Create two criteria-based groups with each of your working criteria (first and second parts) Step 2 - Create another criteria-based group containing the members of both groups /Person[(ObjectID = /*[ObjectID = 'GUID of criteria group a']/ComputedMember) or (ObjectID = /*[ObjectID = 'GUID of criteria group ab]/ComputedMember)] You can also do something similar using sets in the place of groups by replacing "resourceID is member of 'group' " .. for groups with "resourceID in 'set' " .. for sets Hope this gives you some ideas about what you can do with this concept. -Frank
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2011 7:55pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics