Code Search in Data Studio lets you find code snippets in Nodes using keywords. The search results show all matching Nodes and their context. This helps you identify the source of data changes, such as the specific Task that modified a target Table. This article describes how to use Code Search.
Scope
Edition requirements: Code Search is available only in DataWorks Standard Edition and higher.
Search scope: Code Search finds Nodes only in the following locations: Workspace Directories, My Files, Manually Triggered Tasks, Manually Triggered Workflows, and the Recycle Bin.
Access Code Search
Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a desired region. Find the desired workspace and choose in the Actions column.
You can access Code Search in one of two ways:
In the left navigation pane, click the
icon to go to Data Studio. Next to Workspace Directories or My Files, click the
icon to open the Code Search page.In the left navigation pane, click the
icon to go to Manually Triggered Objects. Next to Manually Triggered Workflows or Manually Triggered Tasks, click the
icon to open the Code Search page.This action pre-selects the corresponding Position filter.

Use Code Search
Enter keywords and configure search filters.
In the search box, enter keywords, such as a code snippet or a Table name. The more specific the keywords, the more precise the search results.
You can also refine your search with filters such as Position, Node Type, Owner, and Modification Time.
NoteAdvanced search filters help you locate target Nodes more quickly and accurately. If you do not configure any filters, the search runs across the entire Workspace by default.
Press
Enterto search.View the search results.
You can view all matching Nodes that contain the keywords, along with detailed code context. This helps you quickly locate the target Node and identify changes. You can also:
Click a Node name to open its details page.
Click Copy Code to copy the current code snippet.