Flows
Flows represent and implement sequences of rules. In the Flows section, you can design and manage events and rules through conceptual maps. A clear structure and identity for the workflow being developed can be created, rules, folders, and VFS can be specified, and actions can be applied.
The Flows section allows you to configure how the integration will take place. The configurations implemented are not just for visual display but actively generate the specified entities within the system.
Let's make an example.
Imagine you need to create a workflow where every time an Excel file sent from sender GAMMA enters a folder, it must be renamed and copied to another VFS. The original file can be deleted.
In Data Mover Smart, we can translate this flow into a conceptual map, which results in this view:

Let's now see in detail how to create the map.
In the Flows section, click the New button and the New Flow board will appear. This board is provided with a Nodes panel on the right, which contains all the entities that can be part of the map. Useful chips are available to display a specific category of entities, e.g. clicking the Action chip, all actions will be shown.
A toolbar at the top of the board allows you to:
edit the name of the flow. By default, New flow is assigned.
delete the draft you are/were working on.
save the flow. This icon is enabled only once the flow does not have any errors.
These are the steps to create the map:
Define the starting point
The first thing to do when drawing a map is to define the starting point. In our example, it is a folder in a VFS. So, in the Nodes panel, we select the Folder (VFS) box and we drop it onto the board. We now have to specify the folder where files are expected to arrive, so we click the VFS box, and the Folder (VFS) panel will appear.

Clicking Choose, the Choose folder window will appear. Here, configured folders are listed and can be selected. Additionally, a new folder can be created by clicking on the + button as detailed on the Folders page.
Define the rule
The next step required is to define the rule that must be applied to the folder we have selected. We want actions to be applied to new files entering the folder.
To set a rule associated with our VFS, we click the icon on the right of the VFS box and the Rule box automatically appears, linked to the Folder (VFS) box. To define the rules, we click the Rules box and fill in the fields in the Rule window as detailed on the Rules page.
Set the criteria
We now have to set the criteria we want to be applied to the rule we have set. Once met, these criteria will trigger one or more actions. For example, we want to apply actions to Excel files coming from company GAMMA.
To set conditions to our rule, we click the icon on the right of the Rule box, and the Conditions (Rule) box automatically appears, linked to the Rule box. To define the criteria, we click on the Conditions (Rule) box and then on the + button. The Attribute field contains a list of pre-defined criteria we can choose from. We select filename, set the value to *.xlsx, and click the Add button. Then, we click the + button again, select sender, set the value to Gamma, and click the Add button.
If needed, new Attributes can be created, as detailed on the Metadata page.
Set the actions
We now have to set the actions we want to be applied to the files. In our example, we want Excel files coming from the company GAMMA to be renamed, and copied to a specific VFS, and then the original files can be deleted.
To set these actions, we click on the icon on the right of the Conditions box and the possible applicable options will appear.

Hovering the mouse over each icon, a tooltip will appear showing the relevant action.
We want our files to be renamed, so we select the rename file icon. A new Rename file box will appear, linked to the Conditions box. Clicking the box, we can set the new name we want to be assigned. Either enter the name in the New file name field or set a macro. By clicking the
icon, a panel with supported variables will appear.
We now click again on the icon on the right of the Rename file box and we select the
Copy to VFS icon. A new Copy to VFS box will appear, linked to the Rename file box. Clicking the box, we can set the VFS where the file must be copied. Clicking Choose, the Choose folder window will appear. Here, configured folders are listed and can be selected. Additionally, a new folder can be created by clicking the + button as detailed on the Folders page.
The selected VFS will appear as a box connected with the Copy to VFS box.
We now click again on the icon on the right of the Copy to VFS box and we select the
Delete file icon. A new Delete file box will appear, linked to the Copy to VFS box.
Save the flow
Up to now, the flow is in the status draft. To make it active, we simply have to click the Save button at the top of the screen.
Note that if there are any errors, the Save icon will not be enabled. When a box is not fully or correctly configured, this icon will appear at the top of the box. On the lower part of the board, the Errors found chip shows the total number of errors. By clicking on the chip, a panel will open, showing all the errors categorized by entity. Clicking on each error will open a window where the issue can be fixed.
Last updated