Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rw ui steps macro
Rw step

After accessing the Flow Editor area, click the go to File in the toolbar and select New template.

Rw step

You can choose to create the Template in a new tab, or disable the Open in a new tab tickbox to replace the current tab. The previous Flow will disappear if you did not save it before opening in the current tab.

Rw step

Give the new template a name, then select Apply. The name of your template will appear at the top of the canvas, next to a color circle that indicates its current status. When you create a template, its status is always Scratch (orange) until you first save it. Learn more about flow statuses here.

Rw step

Now you can start adding the required units to the canvas. Search units in the left panel using the available search box or navigating through the different categories. Select the required units and drop them into the canvas.

Info

Alternative ways to add units

You can also add new units by right-clicking anywhere on the canvas and selecting Add unit.

Rw step

Once you have created and configured all the units required for the template, you can change some of the configurations using Parameters.When the template is instantiated, you can use parameters to adapt and insert your own data variables.

Let’s say you have a template containing a Tick unit, a Repeater, and a Devo Sink unit. However, you wish to modify specific parameters of the Tick unit without having to redo the Flow.

Click the parameters icon to open the form.

Image RemovedImage Added
Rw step

Select Add parameter and fill in the properties:

In the original Flow, the Tick will send an integer of 4 as specified in its properties. With this new parameter, we are modifying this integer value to 3, whilst maintaining the rest of the Flow chain.

Select Create and the new parameter will appear in the list.

Info

Save your template to save new parameters.

If you add or modify any parameter, keep in mind that the changes will not be reflected in your template until you save it.

Rw step

You can only run Flows and Instances. Therefore, in order to use a template, it must be instantiated.

Go to File → Instantiate template.

Rw step

In the New Instance window, enter a name and select Create instance.

A new window will open with your instance, indicating that your Template is ready to use.

To learn more about instances, see the section below.

...

This way, modifying the original template will also modify it in any instances it is contained in. A new window will show you the results of the changes.

...

Rw ui textbox macro
typeinfo

Icon greyed-out?

You must first Save the Template using the option in the toolbar in order to enable the Publish button.

...