Steps that need a change
Belay reads every step when a workflow is saved. A step it understood is ready to run. A step it could not use needs a change, and says which kind, why, and often what to write.
A workflow with such a step is saved, but it can’t run until the step is changed. The workflow list shows this as Can’t run, with how many steps need a change.
The kinds
Section titled “The kinds”| The step says | What it means | What to do |
|---|---|---|
| Does more than one thing | The step holds two or more actions or checks. | Split it. Belay offers the separate steps. |
| Not supported yet | Belay cannot do or check this as written. Usually it is something Belay can’t do yet. Sometimes it is a key the step does not name as a key. | Read the reason under it. Use the suggested step if it checks enough, or test this part another way. |
| Needs a route | The step goes to a page by name, and the project has no route with that name. | Choose Add the rentals route (with the page’s name) under the step. Routes opens with the name filled in; type the page’s path and choose Add, and the step is read again. Or write the path itself, such as “Go to /rentals”. |
| Needs more detail | The step points at something only another step names (“it”, “that one”), or a value, a “not”, or a count would be lost in reading it. | Name the element or the value in this step. |
| Can’t be reached | The step goes to an address on a private network, which Belay’s browsers cannot open. | Use an address that is reachable from the internet. |
| Needs a change | None of the above fits. | Read the reason under it. |
Could not read
Section titled “Could not read”A step can also say Could not read. Unlike a step that needs a change, it stops the workflow from being saved at all. There are two causes:
- Belay could not read the step at that moment. That is a problem on Belay’s side, not in your step. Choose Try again.
- The step has a mistake that reading cannot get past, such as a variable that does not exist. The message says what to change, and there is nothing to try again.
Examples
Section titled “Examples”This step does two things:
Click Save and check that "Saved" is shown.Belay answers with the two steps to write:
Click Save.Check that the page shows "Saved".This step needs more detail, because nothing in it says what “it” is:
Remove it from the list.Name the thing:
Click the Remove button in the "Trail Helmet" row.Suggestions
Section titled “Suggestions”When Belay can offer steps to use, the editor shows them with one button that applies them: Use the suggestion, or Split into 2 steps when one step becomes several. Three things can come with a suggestion:
- Nothing more. The suggested steps do everything the original said. Use them as they are.
- A note. The suggested step checks less than the original, and the note says what it leaves out. Decide whether that is enough before you use it.
- A question. The step could mean two things. Belay shows both, each with its own steps, and you choose.
An agent sees the same through save_workflow: needs, reason, replacement, note, and question. An agent should use a replacement with no note as it is, and ask you before using one that has a note.
A step that is understood but not found
Section titled “A step that is understood but not found”Reading a step is not the same as running it. A step can be understood when saved and still end Not found in a run, because nothing on the page matched its description. That is a different problem with a different fix: see Reading a run.