Generate File

These are process that all generate files.

Create Data Matrix

Function

Its function is to generate a Data Matrix (kind of QR code), this can be used to convert text information to a graphical representation matrix of black and white pixels. These are often used for inventory tracking or to hold information about products.

Properties

The properties:

How to use this node?

For the flowchart, connect from the interaction node to the create data matrix and back to the interaction with the result using the default exit.

One way to use it:

Sample use case

  1. Create a temporary file field that will store the generated image.

  2. Use an interaction node with a button to start the process, an input field and a label for the result.

  3. Put the Data Matrix node in and set the properties.

  4. Create an exit that will go to the node to execute the process.

Node operation process.

  1. After executing the process, the temporary field appears, in this case, a file field data type.

  1. The result of the process, with the data matrix generated.

Generate word

Function

Its function is to generate a Word Document from the contents of a provided WEM Template.

The use of the Word Template property is currently restricted to only Kubernetes environments. This property is for Word template documents to apply preset styling to the generated documents - it is limited, as Word Properties and Fields are not accessible to set using WEM. Also, custom Fonts should be set to be Embedded in the Word File Properties.

Properties

This process has the following properties:

How to use this node?

Flowchart

For the flowchart, connect from the interaction node to generate Word node. As shown below we have the interaction node where we want to activate the process and see the response, and the process node is connected with the button exit and back with the default exit.

One way to use it:

  1. Create a temporary text field that will be the one that receives the document file.

  2. Use an interaction node, then, the Generate Word Document node.

  3. Create an exit that will go to the node to execute the process and use the default exit for the response.

In the node properties, the "edit template" gives access to a template in which you can create what you want to add in the future Word document, this template is similar to the editor that appears inside the interaction node;

Node operation process.

  1. Before clicking the generate word button.

  1. as After executing the process, the temporary field appears the one that will carry the result of the executing of the node.

  1. The result.

Generate PDF

Function

Its function is to generate a PDF Document through the node configuration. WEM allows, through the templates editor, templates to be converted into a PDF document.

Properties

The properties that can be used in the PDF process:

How to use this node?

Flowchart

Connect from the interaction node to generate PDF. In the canvas, the process flow that will be executing the project is designed, in the following example, we will be using the start node that will always be by default; an interaction node as shown below, fill in the properties section, where can be set the different dimensions of the future PDF document.

One of the easiest ways to use it basically:

Sample casse an interaction node, then, the Generate PDF document node.

  1. Create a temporary file field that will be the one that receives the PDF file field.

  2. Create an exit that will go to the node to execute the process.

In the node properties, the "edit template" gives access to a template in which you can create what you want to add to future PDF files, this template is similar to the editor that appears inside the interaction node;

Node operation process.

  1. Before clicking the generate pdf button.

  1. The result of the process executed.

File from text

Function

Its function is to generate a file from text through the interaction node configuration, it is quite interesting and it will help us when we have to make a file that comes from a text type; in a direct and immediate way. You can take text-type fields that contain information loaded in advance, either manually, or with one of the options offered by the import node, through CSV, Excel, JSON, XML, or through an external list of Odata, web service, an API, etc…

Properties

How to use this node?

Flowchart

Connect from the interaction node to generate a File from text. In the canvas, the process flow that will be executing the project is designed, in the following example, we will be using the start node that will always be by default; an interaction node as an "overlay", as shown below.

One of the easiest ways to use it basically:

  1. Use an interaction node, then, the Generate file from text.

  2. Create a temporary file field that will be the one that receives the file from text.

  3. Create an exit that will go to the node to execute the process.

Node Operation Process.

  1. Before clicking the button "Generate file from text".

  1. After clicking file from text, the field appears.

  1. The result.

Generate image

Function

Its function is to generate an image through the interaction node configuration. Generating an image through this process execution node, allows everything that has been developed within an interaction node with its template edition, to be captured in an image which can be customized according to the idea of the user. The most fascinating thing about all this is that it is extremely easy to use and can contribute to many useful processes in systems development.

Properties:

How to use this node?

One of the easiest ways to use it basically:

  1. Use an interaction node, then we put the generate image node.

  2. Create a temporary text field that will be the one that receives the image file.

  3. Create an exit that will go to the node to execute the process.

In the node properties, the "edit template" gives access to a template in which you can create what you want to add in the future Image file, this template is similar to the editor that appears inside the interaction node;

Node operation process.

1. Before clicking the generate pdf button.

2. After executing the process, the temporary field appears.

Generate HTML from rich text

Functions

Its function is to change generate a generate HTML from a rich text field.

Properties

How to use this node?

One of the ways to use this node

The first thing we do is use an interaction node, then we put the generated HTML from the rich text node.

Inside the file content, set the HTML.

After, create a temporary text field which will be the one that receives the generated HTML file.

Create an exit that will go to the node to execute the process.

Node operation process.

  1. Before clicking the generate HTML from rich text button.

  1. After executing the process, the temporary field appears.

  1. The result.

Create QR-code

Function

With this process node you can generate different kinds of qr-codes, this is an image that can be read by a lot of devices. The process translates a text to a grid of black and white pixels, this can be translated back to text by all kinds of devices with a camera. A lot of times qr-codes are used to share information without having to retype it. This is someting different then a datamatrix which is used in a lot of warehouses management.

Properties

Among the properties, it presents:

The symbol versions of QR Code range from Version 1 to Version 40. Each version has a different module configuration or number of modules. (The module refers to the black and white dots that make up QR Code.) "Module configuration" refers to the number of modules contained in a symbol, commencing with Version 1 (21 × 21 modules) up to Version 40 (177 × 177 modules). Each higher version number comprises 4 additional modules per side. More about that here.

How to use this node?

One of the easiest ways to use it is shown below, we start with a interaction node, here we provide the input for the qr code and set up a few of the options. The interaction node has a exit to the qr process node, and uses the default exit to go back and show the result.

Sample use case

1. The first thing we do is use an interaction node, and a field to store the code that is made. In this case is that a transient or session field where we temporary store the image.

2. You can leave all the settings on default by keeping them empty or add values to them. In the images below you will see that there are a few transient fields added for specific settings.

3. Add a button that triggers the node exit Create QR-code thats connected to the process node. and add the field that you used for the output to the interaction template.

Node operation process.

  1. Fill in the input field with the code you want to convert.

  2. select the create code button that invokes the process

  3. The result of the process, with the QR-code generated.

Create ZIP archive

Function

Its function to create a ZIP archive.

Properties

Among the properties, it presents:

How to use this node?

One of the easiest ways to use it basically

Sample use case

  1. The first thing we do is use an interaction node, then we put the generate Generate Zip Archive.

  2. Create a temporary text field that will be the one that receives the Generate Zip Archive.

  3. Create an exit that will go to the node to execute the process and back again to show the result.

You have created a ZIP packager, this can be used when working with large files you want to save in the datamodel.

Last updated