Write to file system

Write to file system

This component is unavailable, if file system access has been disabled in the system settings.

 

This component writes the current workflow body to a file on the local file system. The output directory and filename must be specified in advance using metadata values "interform.plugin.archiver.folderName" and "interform.plugin.archiver.fileName" (can be set in the workflow using the advanced components "Set output directory" and "Set output filename"). The attribute "Filename conflict resolution" determines what happens if the output file conflicts with an existing file.

 

Normally the Basic output component: To filesystem should be considered instead of this component.

 

The write to file system workflow component has this parameter:

 

NG2WorkflowWriteToFileSystem0001

 

File name conflict resolution

With this you specify what the workflow should do, if the file already exists. The options are:

Overwrite (default). If you select this, then any existing file with the same name will be overwritten by the new file.

Append version. Select this to add a counter (in parenthesis) at the end of the new file name - prior to the extension.

Rename existing. Rename the existing (old) file and add the timestamp to the file name. The old file will be rename similar to this: filename_20200812134611716.pdf.

Move existing. If you select this, then the original file will be moved to a subdirectory with the timestamp and the new file is created as requested.

 

Not only can you select one of the fixed values above for the file name conflict resolution, but you can also use an XPath expression to set a variable value e.g. depending on the input file. The XPath expression should return one of these values:

 

Overwrite

Rename

AppendVersion

AppendTimestamp

 

Unknown values will result in "Overwrite" being used.

 

The following values are also accepted (InterFormNG related values), BUT will result in a warning

append-version-number

rename-existing-file

overwrite-existing-file

    Notice: Help Center Transition Update

    As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.

    We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.

    Best regards,
    The InterForm Support Team


      • Related Articles

      • Set output file name

        The advanced set meta data workflow component, Set output file name, sets the output file name for the next write(s) to the file system. The Set output file name component has this parameter: Output file name The name of the file, that is written to ...
      • System log

        For normal use the job logs should be used in order to check up on processing of files, but in some rare cases you might need to look into the system log of InterFormNG2. To access the system log you need to sign on as a system admin. The system log ...
      • System monitor

        InterFormNG2 includes a system monitor. This is a tool for the system administrator, that can be used in order to verify the health of InterFormNG2 and how busy the application currently is. You can find the system monitor by signing on as a system ...
      • Delete file

        The advanced utilities workflow component, Delete file can be used in order to delete a local file. A prerequisite for using this workflow component is, that the global setting, Allow direct file access has been enabled on the Global system settings. ...
      • File output

        InterFormNG2 can distribute all the output formats in many different ways. You can combine all input and output formats with all the distribution options. The list below shows all the ways you can distribute the output from InterFormNG2: 1.If you ...