CSVHandler
Description
The CVS ActionHandler allows variables from a process to be written to a CSV file/table. They may then be attached or saved.
Class
com.dooris.bpm.actionhandler.CSVHandler
Â
Parameter
Parameter | Default value | Description | Valid examples |
---|---|---|---|
| Â | Describes where the file should be stored. This may be either a relative or an absolute path. The file will only be saved if the parameter saveFile is set to true. | Â |
| Â | Specifying the name of the file to be attached/saved. It can be entered directly or as a variable. For this, the value must look like this: $ {VARIABLE}. |
|
|  | Names of the variables to be included in the table. The variables are separated by commas. Every variable is written to a new column. |
|
| Â | Names of the headings or the first row in the table. As with the parameter, these are also separated by commas. |
|
|
| Boolean (true/false). When set to false, the values are taken directly from the heading. If set to true, the values are considered as process variables and translated. Note the parameter fieldHeadings: if false, the information is used directly as a header, if true, the information is seen as a process variable and retrieved from the database. |
|
|
| Boolean (true/false).If repeatLines is set as false, then the variables being passed by parameter are searched for directly and written to a row in the file. If repeatLines is set as true, the parameters will be searched for multiple times, in accordance with the following pattern: variable1[0];variable2[0];variable3[0]. Square brackets with a number are attached to the passed parameter (for example see domrepeater linkcomingsoon). The number in the brackets is incrementally increased until no more suitable variables are found. All variables with the same index are displayed in the same new line. Neither the bracket nor the index contained in the bracket has to be passed by parameter. Only the variable name is needed. |
|
|
| If false, the file will not be attached to the process instance. If true, it will be attached to the instance, with the specified name. This can then, for example, be attached to an email. |
|
|
| If false, the file is not saved. If true, the file is saved to the specified path, with the specified name. |
|
Â
© TIM Solutions GmbH | AGB | Datenschutz | Impressum