i

Please enable JavaScript to view this site.

Documentation 8.6

Deyel includes examples of built-in rules to perform certain functionalities. These rules can be used as a reference for the development of new rules that meet the specific logic required by the business.

Examples

 

Below are some examples of built-in rules.

Reading data from an Excel file

 

This example is used to read an Excel file and for each row a destination form instance is created.

An initial comment exemplifies how to recover the Excel file, which must be loaded as an attachment in source form instance.

From each row of this file, the values of its cells are retrieved, which are used to populate the fields of a new destination form instance.

 

 

MR-RegasPredefinidas-Excel001

 

 

Writing data to an Excel file

 

This example is used to save the data obtained from an array to an Excel file which is sent by email.

From each occurrence of the array, the values entered to complete the cells of the Excel file rows are recovered. The first row corresponds to column names.

Finally, a name is given to the file, along with the extension “xlsx”. Once the file is complete, it is closed and sent as an email attachment.

 

 

MR-RegasPredefinidas-Excel002
Send us your comments
Share on X Share on Linkedin Send by Email Print