 Rank: Guest Joined: 8/25/2016(UTC) Posts: 5   Location: Wisconsin
|
So I am having trouble creating a simple query for Screenconnect. I have a session group with a subgroup expression for GuestMachineDomain so it will group PCs together with the same domain. I want to set a Session Filter to remove two domains from the list. I can get one to remove with this:
GuestMachineDomain <> "domain1"
I cannot get the second to work though if I do something like this:
GuestMachineDomain <> "domain1" OR GuestMachineDomain <> "domain2"
This does not work either:
GuestMachineDomain NOT "domain1" OR GuestMachineDomain NOT "domain2"
I was just wondering if anybody had other ideas I could try. It seems like a simple query I am trying to get running but I am not able to. Thanks in advance!
Nate
|
|
|
|
 Rank: Administration Medals:  Joined: 3/28/2014(UTC) Posts: 2,862  Thanks: 3 times Was thanked: 351 time(s) in 303 post(s)
|
So I'm not able to replicate the issue you're describing but one thing I did notice was that in your example above you're using double quotation marks. Can you confirm that the session filter syntax itself on your Host page is using single quotes? I believe double-quotes causes issues with our parsing. |
ScreenConnect Team |
|
|
|
 Rank: Newbie Joined: 1/28/2016(UTC) Posts: 37
Was thanked: 5 time(s) in 5 post(s)
|
Please try the using parenthesis:
(GuestMachineDomain <> 'domain1') OR (GuestMachineDomain <> 'domain2')
Thanks, Chris Campbell
|
|
|
|
 Rank: Administration Medals:  Joined: 3/28/2014(UTC) Posts: 2,862  Thanks: 3 times Was thanked: 351 time(s) in 303 post(s)
|
I'm still seeing the same behavior but maybe I'm not understanding what you're trying to accomplish here. Do you want to create a Session Group that does not display any machine in domain1 and domain2?
If so, you would want to use the AND comparator, since OR will pretty much always return true for one of the two operations, thus for the whole statement. |
ScreenConnect Team |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.