In case, no file to load

Yes, you can use the conditional branching arranged with derived tables. See this tutorial chapter about conditional branching: Conditional workflows.

The example below creates a file, which name is specified by a parameter, if it doesn’t exist. If the file exists, the project deletes it. Press “Reload and run” several times to see the two conditional branches toggle.

file-exists.morph (4.3 KB)

If you need to perform on condition a routine larger than just a few sequential actions, then the routine should be put in a separate module, and called from a conditionally derived table.