Skip if import fails

I have a process that looks for a file in a specific directory every day and imports it into easymorph. Sometimes that file is corrupt or just in a different format (I don't have any control over the file) and when that happens my easymorph project stops with the error message and none of the remaining steps in the project are completed.

For example I do this file directory import for multiple files in multiple directories - the easymorph project does this one at a time by using the synchronize function, waiting for the previous one to complete. If one fails to import due to the corrupt/format issue the subsequent ones are not run.

How can I put some error checking in place to say if the file import fails, to skip the next steps in that table, which would then complete that process to allow the next one to start (the synchronize step to continue).

In EasyMorph, error handling is done by putting the part of the workflow that needs error handling into a separate module and then calling it using the "Call" or "Iterate" action in the "Capture errors" mode. If there are any errors, the action will return a list of errors.

See also this answer (with example): Error handling for "Select columns by lookup" and in General - how to set up examples? - #2 by dgudkov