Guide The jobs it is for
“What does this inherited process do?”
What you are trying to do#
Someone has left, and their monthly process is now yours. It might be a project folder, a .gridkiln file, a SQL script or a workbook full of macros. You want to know what it does, step by step, with the data at each stage, before you change anything or put your name to its output.
If it is a Gridkiln pipeline#
- Open it. A project folder: Open a project folder on Home or the welcome screen. A shared
.gridkilnfile: File › Open Shared Pipeline… (Open a shared pipeline in the command palette); you are walked through connecting your own files in place of the originals. - Read the recipe. Every step is a sentence generated from its settings: “Remove rows where Customer is “TEST””, “Look up Name and Price from Products, matching Product code to Code”. Under each sentence is what it did: “Removes 412 of 15,002 rows”. Badges mark steps made by AI (“AI-made”, with the original request), steps with a note, and checks.
- Travel through it. Click a step, or use ⌥↑ / ⌥↓ (Alt+Up / Alt+Down) from anywhere: the grid shows the table as it was after that step. ⌥⌘↑ / Ctrl+Alt+Up jumps to the source, ⌥⌘↓ / Ctrl+Alt+Down to the last step.
- See what each step changed. Turn on Diff with ⌘D / Ctrl+D: added columns are tinted with a “+”, changed cells are tinted and show the old value when you hover or focus them, and the Diff tab (⌥5 / Alt+5) lists removed rows and sums the changes by column (“Amount changed in 37 rows”).
- Read the exact logic. Press Enter on a step (or ⌘E / Ctrl+E) to open its editor, with the Settings, Formula, SQL and Note tabs. The SQL tab in the drawer (⌥3 / Alt+3) shows the query for the table in the grid. The note says why the step exists, if its author wrote one.
- See the shape. Canvas on the rail (⌘3 / Ctrl+3) draws the pipeline as a graph when it joins several sources or writes several outputs; every connection shows how many rows flow along it. Show the flow as a list reads the graph in order.
- Ask where a value came from. Select a cell and choose Where did this come from? (the selected cell) (⇧⌥L / Shift+Alt+L): a total lists the rows that were added up, and a looked-up value shows the source row that supplied it. Where did this column come from? and Where is this column used? follow a column back to its sources, or forward to the steps, outputs, other pipelines and workflows that depend on it.
- Follow the rows. The Rows tab (⇧⌥W / Shift+Alt+W) shows where rows left at each step, so “where did 300 rows go?” has an answer.
- Read its history. Runs (⌘4 / Ctrl+4) shows past runs and their records. The History tab (⌥8 / Alt+8) shows who changed what, and Versions in the recipe header lists the named versions; Compare the latest named version with now shows what changed in the steps and in the output.
- Get it written up. About this pipeline… holds its Purpose, Owner, Assumptions and Notes. Write up the pipeline as a document… writes the whole pipeline in plain words: purpose, sources, each step, checks, outputs, schedule and a lineage picture. The data dictionary (Show the data dictionary) holds a description, tags and an owner for each table and column.
If it is a SQL script or a workbook#
- A SQL script or saved query: File › Import › SQL Script… (Import SQL script…). Each statement becomes a SQL step, wired to the tables it reads; tables it reads from nowhere become sources for you to connect. New pipeline from SQL… takes pasted SQL.
- A workbook maintained by hand: Turn a workbook into a pipeline… records the same operations once, as steps.
Before you change anything#
- Name a version with ⌘S / Ctrl+S (“as inherited”), so you can always compare with it and go back.
- If the pipeline has tests, run them: Run options › Test. If it has none, add one with New test of this pipeline… from last month’s input and output; it will tell you if your changes alter the result.
- Explain this pipeline (AI) describes it in plain language, if AI is on. It sends only what the project’s privacy level allows.
When it goes wrong#
| You see | What to do |
|---|---|
| A step is red: “Cannot run: …” | Something it needs is gone, often a source you have not connected yet. The card names what is missing and offers a repair |
| A shared pipeline asks for files you do not have | Connect each slot to your own file. The drift report says whether your file fits what the pipeline expects |
| “This plugin needs …” or a step from a plugin will not run | The pipeline uses a plugin this computer does not have. Settings › Plugins lists what the project needs and where to get it |