I created two processes
- Tester: it does a find and then call Tester2.
- Tester2: it repeats the condition of the find and prints "good" if the conditions match, and "bad" if they don't.
Tester2 has the "RegularUser" object as its input, Tester has no process inputs.
Here are the rules for the two processes:
Tester:
FIND RegularUser WHERE EXISTS Assessment WHERE (RegularUser IN Assessment.Participants )
Tester2
Tester2:
IF EXISTS Assessment WHERE (RegularUser IN Assessment.Participants) THEN
DISPLAY MESSAGE 'good ' + RegularUser.LoginName
ELSE
DISPLAY MESSAGE 'bad ' + RegularUser.LoginName
I then run the "Tester" process and get two "bad" messages. One for "admin", and one for another user. I am expecting the two users to be excluded from the result of the "Tester" process, so it seems to me that the find is the thing that is wrong, not the logic in Tester2.
Am I missing something here?
Thanks
Peter