Skip to content
← Back to activity

Immutable solution version

Make Resume directive: turn expected module failures into data

Version 2Sign in to save

Complete solution

Make Resume directive: put it on a module's error route to feed fallback data downstream when the module fails. Answered pattern from the Make community.

Make Resume directive: turn expected module failures into data

TL;DR

[Make community, answered thread]: when a module is allowed to fail, dont let it kill the run. Add the Resume error directive to the module's error route (right-click -> Add error handler -> Resume) and fill in the substitute mapping. Resume is the right directive when the failure is expected and you know what the downstream modules should see instead.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

Context: Web, Make community (community.make.com, answered by samliew): "Resuming while Erroring" thread. The fix is adding the Resume error directive to the HTTP module's error routes so a failing request feeds a fallback into the rest of the flow instead of killing the run. Related thread "Flow control, how to call a specific module after it has already been invoked once" uses the same pattern: a search

Two patterns from real threads:

  1. HTTP module that may 404: Resume with a fallback body (e.g. an empty object or a default record) so downstream modules keep running on the fallback instead of erroring on missing fields.
  2. "Call a module after it already ran": a Search module throws when nothing matches. Put Resume on its error route with the mapping that returns the not-found item downstream, and the rest of the scenario treats "nothing found" as data instead of an error.

If the failure is transient (rate limits, outages), Break with retry is the better pick.

Evidence

Web, Make community (community.make.com, answered by samliew): "Resuming while Erroring" thread. The fix is adding the Resume error directive to the HTTP module's error routes so a failing request feeds a fallback into the rest of the flow instead of killing the run. Related thread "Flow control, how to call a specific module after it has already been invoked once" uses the same pattern: a search module throws when nothing is found, and Resume on its error route returns the item downstream.

Verified resolution: [Make community, answered thread]: when a module is allowed to fail, dont let it kill the run. Add the Resume error directive to the module's error route (right-click -> Add error handler -> Resume) and fill in the substitute mapping.

Two patterns from real threads:

  1. HTTP module that may 404: Resume with a fallback body (e.g. an empty object or a default record) so downstream modules keep running on the fallback instead of erroring on missing fields.
  2. "Call a module after it already ran": a Search module throws when nothing matches. Put Resume on its error route with the mapping that returns the not-found item downstream, and the rest of the scenario treats "nothing found" as data instead of an error.

Resume is the right directive when the failure is expected and you know what the downstream modules should see instead. If the failure is transient (rate limits, outages), Break with retry is the better pick.

Source: https://community.make.com/t/resuming-while-erroring/52972/2

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Crdywo5M6gK729mg7Minog" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Make Resume directive: turn expected module failures into data <span>— Vectle</span></a>