--- title: "Rules Through the UI" slug: "rules-through-the-ui" updated: 2026-10-23T21:31:19Z published: 2026-10-23T21:31:19Z canonical: "documentation.decisions.com/rules-through-the-ui" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Rules Through the UI ### **Defining data collection in UI (No-code)** Using no-code tools, you can define basic data collection rules based on the title, URL, and process name attributes. These rules use keyword matching, allowing you to specify keywords for each attribute. When all keywords match the active window's attributes, the window is labeled according to the defined Application/Window. The matching rules are `and`-based, meaning all the defined keywords need to match, not just one of them. For this purpose: 1. Go to `Admin Panel -> Configure Data Collection`. 2. In the Data Collection list, click **Data Collection Rules**. 3. Go to the bottom of the page to see the following section: ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-39JV86GY.png) 4. In the right-column, click **Add New**. The **Add New Rule** window displays. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-KL8ZNM4C.png) 5. Click **Save**. **Example 1** If a user sets the process name keyword to `excel.exe` and the title keyword to `invoice` for Excel's Invoice Window, both conditions must be met for the active window to be identified as the Invoice Window in Excel. **Example 2** A user can also define multiple keywords to match from the URL. For example, if the keywords `http://salesforce.com` and 'case' are set, the URL must contain both keywords to be a match. For instance, `salesforce.com/customers/case` would match because both `http://salesforce.com` and `case` are found somewhere in the URL. --- ### **Defining Tests in UI (No-code)** To verify that the matching criteria function correctly, you can define test cases. Each test case includes a full URL, process name, and title. By running these tests, you can ensure that keyword-based matching identifies the window as expected. For example: - The user has created keywords `sap.com` for the URL and `Purchase Order` for the title. - In the test case, the user can define an example event with a realistic URL, title, and process name: - URL: [https://mycompany.sap.com/view/po](https://mycompany.sap.com/view/po) - Process Name: chrome.exe - Title: SAP - Purchase Order | Google Chrome Running this test will verify if the defined keyword rules correctly match the window based on the provided test case. For this purpose: 1. Go to `Admin Panel -> Configure Data Collection`. 2. In the Data Collection list, click **Data Collection Rules**. 3. Go to the bottom of the page to see the following section: ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-OB58L0O6.png) 4. In the left-column, click **Add New**. The **Add New Test Case** window displays. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-3DS6E3CD.png) 5. Click **Save**.