Advanced search option in Bot editor
- Updated: 2024/10/22
Advanced search option in Bot editor
When you edit or view a bot, you can use the advanced search feature to find the exact line of action and the corresponding details where the search text appears, select the search filter criteria, and navigate through the search results.
- Click the Assistant icon at the top.
- Click icon.
- Use Ctrl + Shift + F shortcut keys.
If you enter a search term in the Search in this bot field and then click the Open advanced search icon, the search term is carried over and displayed on the Advanced search page.
The Advanced search feature comprises of three components:Search
In the Advanced search page, you can enter a search text in the search box. You can search for a text value, variable name, or long text that has multiple matches.
You can also select the search filter criteria and navigate through the search results.
For example, if your search query is Bob Kin, the search will match all of the following results:
- Bob Kin
- Bob and Kin
- BobBobBob KinKinKin
- First name is Bon and last name is Kin
Additionally, you can use * to match any character in the search result, and ? to match the specific character. For example, you can search for “user:* test-?x” to find matches such as:
- user:me test-1x
- user:0 anything in between test-ax
Search filters
- Canvas (Flow and List views): to search for any text within the canvas that is displayed in the flow and list views.
- Text value: to search for any text value within the action details.
- Variable name: to search for any variable name within the action details.
You can select or clear one or all the filter check boxes depending on the search criteria.
When you click a matching item from the action details, for example, if you select the second search result If| Line 6 | 2 matches in the Results tab, you will see the complete line of action that contains the search text highlighted in the canvas, and the details of the selected action are displayed on the properties panel. You can see that the searched text botname is appearing in the if condition, as shown in the properties panel.
Results
When you enter the search text and select the filter criteria, the Advanced search page displays the search results based on action names across the different lines of the bot.
When you select a specific line item against the action name, the action detail page opens within Results tab displaying a list of all matching results within that action.
When there is more than one search result, you can use the Back button to go to the previous line and the Next button to go to the next item. When you select the Back or Next button, the action is highlighted in the canvas, and the detail of the corresponding item is displayed in the properties panel.
The following example shows how Advanced search works. You are editing a bot with lengthy lines of code. Now you want to search with the text botname in the Assistant window. The Results header shows the total count of 10 matched action names and line numbers with the count of matching line items, such as If| Line 6 | 2 matches.