Creating Modules without Data Sources

Not available in Factory Lite license.

Modules are RFL files created from part of a process, in order to debug or re-use this same section in other parts of the same or different processes.

If you do not include the data source tasks (e.g. Import from Text File, Import from Excel File, etc) in the module you will create an Execute Rulex Process File task. This type of module is useful when you want to use the same series of tasks in different parts of the process, or in different processes, but you want to be able to specify different data sources each time.

Rulex automatically creates the correct type of module according to the tasks you select.

Modules

For more information on modules see Compacting Tasks into Modules.


Prerequisites


Procedure

  1. Select the tasks you want to include in your module.

  2. Right-click and select Create Module.

  3. Browse to where you want to save the module.

  4. Click Save. A fully configured Execute Rulex Process File task is created, which can, however, be modified if required.


Example

In this example, we want to re-use the central part of the flow, but not the first two import tasks.

Select the central part of the flow and create a module, which includes the selected tasks:

The Execute Rulex Process File Source task can then be copied and pasted to different parts of the process.

The task can be configured in its new position, for example by mapping the inbound tasks and endpoint to connect it to the new process.

Extracting modules

If you need to check or modify the tasks contained within the module you can extract it. See Extracting Modules for details on how to do this.