Note that only administrators have access to the Policies panel. Creating a Policy from scratch may involve some level of technical expertise, depending on the complexity of the policy required. Contact DubBot support using the in-app chat or by emailing if you would like help configuring a policy or do not have the appropriate user level.

To manage Policies, select Settings, and from the left-hand navigation under Check Settings, select Policies.

Screen capture of the Account Settings screen in DubBot. Policies is now listed at the bottom of the check settings instead of Custom Checks.

To create a new check, select the Create new policy button.

Screen capture of the Create new policy screen in DubBot. The fields described in the text are displayed.

In the Name field, enter the title for the check. The Name displays in the Quick Wins panel and on the detailed page view when the Policy matches a page.

Create new policy fields in DubBot App

The Policy Notes field allows users to include additional details about the Policy. Policy Notes are particularly useful for guiding users on the purpose of the flag. This content will display as expanded content when the Name is clicked on the detailed page view.

The following field is only applicable to Policies that will have multiple rules.

Screen capture of the Manage Policies screen in DubBot. The Rule Matching Behavior field has been zoomed in on and is described below.

Under the Matching Behavior option, the "Match any rule. Leave disabled to require all rules." checkbox allows users to select whether the Policy is an OR or an AND selector. Checking the box will require that pages only match one rule within the built set of rules to be flagged. Leaving the box disabled will mean that pages have to match all rules to be flagged.

To make a Policy based on a set of rules, repeat the following steps as many times as the ruleset requires.

Select the Add Rule button to add criteria for the Policy.

check options in dubBot app

In the Rule field, enter the search query.

Screen capture of the Create new rule screen in DubBot. The Flag pages checkbox described above, and the ignore case  and exclude code checkboxes below are shown.

In the Search By field, choose the type of search. Search type options are Text, Link Text, Link URL, CSS Selector, XPath, and Regular Expression.

Screen capture of the search type options described above.

The "Flag pages that do not match this rule" checkbox allows users to build flag pages for the exclusion of a rule. Check this box to flag pages that do not match the search criteria. Note that the majority of Policies are to flag for the existence of a search query, so the majority leave this box disabled.

Check Options in the DubBot App

The "Ignore Case" checkbox allows users to make a case insensitive search. Checking this box means that a search for "John Doe" would return "john doe" along with any variation of capitalized/lowercase letters. Leave this box disabled if you want to make a case sensitive query.

The "Exclude code and check only text" checkbox is only present for the Text and Regular Expression queries. Enabling this checkbox will mean that only the text of pages gets searched to match the rule, excluding all content within code tags.

If the Policy requires more than one rule, select the Add Rule button to enter more criteria. Repeat the process as many times as needed.

Screen shot capture of the Add Rule button in the Rules section.

Once all of the Rules are configured, select Create to save the new Policy.

Did this answer your question?