Use Code Search to find keywords across the code of all Nodes in your workspace. Search results show every matching Node along with the surrounding code context, so you can quickly trace data changes — for example, identify which Task wrote to a specific Table.
Code Search is available in DataWorks Standard Edition and higher.
Search scope
Code Search covers Nodes in the following locations:
-
Workspace Directories
-
My Files
-
Manually Triggered Tasks
-
Manually Triggered Workflows
-
Recycle Bin
Open Code Search
-
Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a region. Find the target workspace, then choose Shortcuts > Data Studio in the Actions column.
-
Open 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. -
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.
Opening Code Search from Manually Triggered Objects pre-selects the corresponding Position filter.

-
Search for code
-
Enter keywords in the search box. Use a code snippet, a Table name, or any string that appears in Node code. The more specific the keyword, the more precise the results.
-
(Optional) Add filters to narrow the results. Without any filters, Code Search runs across the entire workspace.
Filter Description Position Limit the search to a specific location (Workspace Directories, My Files, Manually Triggered Tasks, Manually Triggered Workflows, or Recycle Bin) Node Type Filter by the type of Node Owner Filter by the Node owner Modification Time Filter by when the Node was last modified -
Press
Enterto run the search. -
Review the results. Each result shows the Node name and the matching code in context. From the results, you can:
-
Click a Node name to open its details page.
-
Click Copy Code to copy the current code snippet.
-