Reactor and Redirector

The EVRYTHNG Dashboard provides the main interfaces to the most important Platform features governing automation and intelligent use of data - Reactor and Redirector. These can be used to create reactions to data changes and powerful conditional redirections, and are both primarily used through the Dashboard.

Reactor

📘

Enterprise Feature

There is a separate instance of Reactor for each application. To access it, choose a project from the navigation pane, then choose an application that belongs to it from the 'Applications' navigation item that appears. The 'Script' section contains the currently uploaded Reactor script, which can be edited by clicking the pencil icon.

10001000

The 'Logs' section shows recent logs entries, which are generated through the use of the logger object during script execution. These can be filtered by log level using the checkboxes on the left hand side.

990990

If external NPM dependencies are required, you can specify these by clicking 'Add dependencies' and modifying the standard package.json file provided.

988988

If the Reactor script and dependencies come in the form of a ZIP file bundle, these can be uploaded by switching the 'Bundle' switch on and dropping the file into the specified area, or by using the 'Select file' button.

988988

Redirector

The rules that the Redirector uses to perform conditional redirections can be managed through the 'Redirector' section of the Dashboard, available from the navigation pane. This page lists all the rule sets currently enabled.

789789

Use the 'Create rule' button to create a new rule. Specify the name of the rule, select conditions for when it should match, a delegate Platform application, and a default redirection destination URL as appropriate. You can also specify constant values that will be provided upon redirection to aid in the redirection logic.

896896

If multiple rules are listed, use the arrows at the left hand end of each item to change the order of rules. The first one that matches will be the one chosen for any given redirection.