cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EEPC6 Server Tasks - Criteria for each sub-action with Clear All Tags?

Jump to solution

I am putting together a server task that if a PC meets a certain criteria (Is a laptop and tag = the one I want) to clear all tags and assign a new tag.

The purpose of this task is to try to mimic a column of Disk State where Disk State = Encrypted, etc.  Which is not possible natively.  (So, if anyone has a workaround to this - that may also be my solution)

But here is my issue:

If one of the criteria in my query for the task is tag = "Encryption Initiated", I want to clear all possible tags and apply a new tag.  The problem is if I do a "Clear All Tags", it does clear the tags any any others as expected but it seems to use (RUN) the query again for the next sub-action.  Therefore since I've cleared all tags, my device(s) no longer meet the criteria of Tag = "Encryption Initiated".  As I test, I put Apply Tag first and then did a Clear Tag for the rest of my potential tags but I have NINE potential tags I'd like to clear.

Does anyone have any ideas?  This does this in both my test encironment and my production environment so I  may open this one as a ticket.

Thanks in advance,.

Best regards

Rich S.

1 Solution

Accepted Solutions

Re: EEPC6 Server Tasks - Criteria for each sub-action with Clear All Tags?

Jump to solution

I found out what was going on.  You must use a query for Managed Devices (e.g. you cant use a Policy Query, Encryption State query, et. al).  It works fine by running multiple queries in one server task.  You run one to query the policy or disk state you are looking for, then set a custom attribute to any value you want... then come along with your Managed Devices query and query for Custom 2 (Or whichever one you used).  THEN, you can use the Clear Tag sub-action.

View solution in original post

1 Reply

Re: EEPC6 Server Tasks - Criteria for each sub-action with Clear All Tags?

Jump to solution

I found out what was going on.  You must use a query for Managed Devices (e.g. you cant use a Policy Query, Encryption State query, et. al).  It works fine by running multiple queries in one server task.  You run one to query the policy or disk state you are looking for, then set a custom attribute to any value you want... then come along with your Managed Devices query and query for Custom 2 (Or whichever one you used).  THEN, you can use the Clear Tag sub-action.

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community