Editing a task as YAML

The task editor has two tabs, Form and YAML. Both show the same task: the form as fields, the YAML tab as the text of the task's file, which you can edit there. Whichever tab you save from, HarmFlow checks the task the same way.

One task, two tabs

For the keys a task file takes, see The task file in the reference.

YAML that cannot be read

If the text in the YAML tab cannot be read as a task, for example because a quotation mark is left open, switching to the form does not happen. The YAML tab stays open with your text as you typed it, a message says "The YAML could not be converted to the form; fix the errors first.", and the Validation panel says what is wrong. Fix the text, and the switch works.

When a save is refused

Saving from the YAML tab, with Save or ⌘S, applies the same checks as saving from the form: the same change gives the same error from either tab. When a change is invalid, for example a cron expression whose minute is 61: