Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Exclude Filter from a Filter

Updated: 11 Nov 2010 | 7 comments
Bondo's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I am trying to exclude a Filter from a filter in SMP7.  I am trying to use the "Add Exclusion" component and it doesn't work.  It appears that you can only use that component to add a specific machine GUID not a Filter GUID.  Does anyone know if there is a component available or am I SOL.

Thanks.

Comments

Ross W's picture
30
Sep
2010
0 Votes 0
Login to vote

Sorry

Sorry Bondo, that's why they recommend using a filter for one thing and then pull your filters together to form your targets i.e. Filter 1: Computers running Windows 7 & Filter 2: Computers with less than 10GB remaining hard drive can then be combined into a target.

The idea is that over time you end up with a battery of filters to pull together into your targets.

Send me an email if you need any more information

Bondo's picture
30
Sep
2010
0 Votes 0
Login to vote

What you say is somewhat true

What you say is somewhat true but it doesn't really address the challenge I have in Workflow.  I can exclude a filter from a filter using the console.  If you open a filter and look at the Exclusions section there is an option "Filters excluded in this filter".  I am trying to automate this in Workflow and I am looking for which component can help me do this.

scottwed's picture
30
Sep
2010
1 Vote +1
Login to vote

It's a bug in the ASDK 2

I remember running across this a few days ago.  You can reproduce by going directly to the collection web service.  Adding inclusion or exclusion collections were ignored.  I later found a KB article that confirmed it, but now I can't find it again.  I'll make a note to make sure a bug was logged against it.

My project's workaround was to set the collection to SQL mode. 

Scott Wedekind

 

Bondo's picture
04
Oct
2010
0 Votes 0
Login to vote

Thanks Scottwed for the

Thanks Scottwed for the information.  I have been waiting now 3 days to get a response back from support.  In the meantime I have found a work around to update the table "CollectionExcludeCollection" using a "Table Generator" in Workflow.  If anyone needing to do this needs more info feel free to email me.

scottwed's picture
04
Oct
2010
0 Votes 0
Login to vote

Hopefully you don't lose the table entry overnight

I've avoided directly touching those tables due to past NS6 behaviour.  I can't vouch for SMP7, but I recommend checking to see if your entry disappears overnight.  In NS6 days, the scheduled tasks would scrub the collection tables on a nightly/weekly basis.

One other thing, I haven't had time to download it yet, but it's possible the bug was fixed in the brand new release of ASDK v7 (prior version was v2.x)

Scott Wedekind

 

bsakata's picture
06
Oct
2010
0 Votes 0
Login to vote

I actually opened a case on

I actually opened a case on this with support a couple months ago since I couldn't add a filter to an inclusion nor exclusion.  We ended up testing with the ASDK v7 pre-beta version and it worked fine.  I think the ASDK 7 has been released since then so you may want to upgrade and check it out.

Brent Sakata
mindSHIFT Technologies

scottwed's picture
11
Oct
2010
0 Votes 0
Login to vote

ASDK v7 does fix this problem

I just installed ASDK v7.  I ran through some quick tests using the built-in asmx web service client.  Both the AddInclusions and AddExclusions now appear to correctly process collection guids.  I don't see any obvious changes to the input parameters so the existing Workflow components should work as is.  If not, re-run the NS component generator to update the related components.

BTW, one of these responses should be marked as solution so the thread can be closed out.

Scott Wedekind