IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Creating a Custom Rule that fires on Unapproved files only

Creating a Custom Rule that fires on Unapproved files only

Warning: this is a hidden undocumented and unsupported feature and is not intended for general use. Proceed with caution unless you are working with Support, Services, or Engineering.

There are situations where configuring a Custom Rule to trigger on a certain file state but not others is necessary.

The first step is to create the desired Custom Rule, for example, an Execution Control rule that Prompts with a custom notifier in a given path.  To configure this rule to only prompt on Unapproved files, follow Editing Hidden Custom Rule Properties​ to turn on the hidden properties of the rule.  After enabling the hidden properties, return to edit the Custom Rule.  At the bottom of the editing window will be a series of new properties.

2015-11-12_14-52-41.png

From the drop down menu for File State, select Unapproved in order to set the rule to only prompt for files with a state of Unapproved (i.e. do not present the end user a prompt if the file stat is already Approved).

Save the rule and return to Editing Hidden Custom Rule Properties​ to turn the hidden settings back off; the environment should not be operated long-term with that setting enabled.

Caution: Because this is an unsupported feature, the caveat is that any modification to the rule will reset File State back to the default.  If any value of the rule needs to be changed, the hidden property needs to be set with each and every modification.
Labels (2)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎11-17-2015
Views:
1883
Contributors