logo
Welcome Guest! You can not login or register.

Notification

Icon
Error

Options
Go to last post Go to first unread
nweigel  
#1 Posted : Monday, October 22, 2018 4:12:16 PM(UTC)
nweigel


Rank: Guest

Joined: 8/25/2016(UTC)
Posts: 5
Man
United States
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

Scott  
#2 Posted : Monday, November 12, 2018 1:22:07 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,862
United States

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
chriscamp  
#3 Posted : Monday, November 12, 2018 4:29:27 PM(UTC)
chriscamp


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
Scott  
#4 Posted : Monday, November 12, 2018 6:16:24 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,862
United States

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
Users browsing this topic
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.