@waldbaer/node-red-retry 1.1.0

Configurable retry mechanism for Node-RED flows.

npm install @waldbaer/node-red-retry

Configurable retry mechanism for Node-RED flows.

Platform npm version MIT License GitHub issues open GitHub Actions Coverage Status

A user-friendly node for configurable retry handling in Node-RED flows.

Features

  • Limit number of retry approaches.
  • Different retry strategies:
    • Immediate
    • Fixed Delay
    • Random Delay
  • Routing/Re-Throwing of subsequent errors if retries limit is exceeded.

Installation

You can install the nodes using the Node-RED 'Manage palette' in the side bar.

Or run the following command in the root directory of your Node-RED installation

npm install @waldbaer/node-red-retry

NPM

Changelog

Changes can be followed here.

Usage

Introduction

Wiring

  1. Add a retry node before a flow section which might fail.
  2. Add a catch node and catch all errors of the node(s) which might fail with errors. It is recommended to catch only errors from the potentially failing nodes (catch node option: Catch errors from 'selected nodes').
  3. Connect the output of the catch node to the input of the retry node.

Configuration

  • Set max. number of retry approaches
  • Configure used retry strategy.
  • Optional: Enable throwing of every subsequent error msg as error if the retries limit is exceeded.

Examples

Import into Node-RED instance via Node-RED -> Import -> Examples -> @waldbaer/node-red-retry.

Node Info

Version: 1.1.0
Updated 6 months ago
License: MIT
Rating: 5.0 2

Categories

Actions

Rate:

Downloads

3 in the last week

Nodes

  • retry

Keywords

  • node-red
  • retry
  • retries
  • error
  • errorhandling

Maintainers