A redirect result node allows authors to easily link two modules or to run through a module several times by looping back to the beginning of the module. When using a module as a navigation tool that directs the user to other relevant BRYTER tools, the Redirect result node can enable a seamless experience. Letβs assume you have built several self-service and document generation tools. New users, either internal or external, might not know where to look for these or which specific module they actually need. In this case, it might be helpful to build a "front door" that leads to the appropriate module and acts as a βparentβ module.
Step-by-step guide to running a module multiple times
In embedded modules, a redirect result node is a particularly user friendly way to re-start or repeat a module.
- Add a single input node to ask users whether they would like to restart or conclude the respective modules.
- Add a regular result and a redirect result node underneath.
- If users choose to restart or assess another case, simply redirect to the same module by selecting it in the Select module picker. You can also choose to carry over some values with a URL parameter.
Step-by-step guide to linking published modules
Link from a parent module into a βchildβ module with a redirect result and pass values with URL Parameters:
- Add a redirect result node and select the published module that you want to redirect to.
- Click on Add parameters.
- Type in a URL Parameter key - this key needs to be used as the QUERY PARAMETER NAME of the URL parameter node in the receiving "child" module.
- Type or reference a URL Parameter value - this value will be passed with the URL parameter and is picked up with the URL parameter node. The value can be used in a transition or referenced in the "child" module.
In the below example, the name entered in an input node will be passed through to the next module 'Red Flag Checker'. In the Red Flag Checker module, you need to include an URL Parameter action node called name to pick up the value passed through:
Advantages of linking modules
There are several advantages when using a redirect result node to link modules:
- better overview of the most in-demand child modules because a Redirect result node will finish a session in the recorded stats section
- build smaller modules and thus keep a better overview
- transfer data between modules with URL parameter nodes to avoid typing the same information in manually twice