Delete file

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.

 

 

The delete file workflow component has these parameters:

 

NG2DeleteFile001

 

File path

This is the specification of the file, that is to be deleted. In the example above the path and file is found via an xpath expression i.e inside the node /file/absolutePath of the current payload we expect to find the path (including the file name) of the file, that is to be deleted.

 

The file can of course also be selected via a text constant.

 

Comment

An optional comment for this component.

    • Related Articles

    • Splf extractor: Delete a mapping

      This section describes how to delete a spooled file mapping in the spooled file extractor. Before you delete a mapping it is a very good idea to save the current spooled file extractor, as there is currently (in version 1.9.0) no undo/redo option in ...
    • Spooled file actions

      As a part of spooled file processing in InterFormNG2 on the IBM i platform, you might want to delete, hold or move the input spooled file to let the end user know, that the specific spooled file has been successfully processed. You can also change a ...
    • Post-process spooled file

      As a part of spooled file processing in InterFormNG2 on the IBM i platform, you might want to delete, hold or move the input spooled file to let the end user know, that the specific spooled file has been successfully processed. You can also change a ...
    • Save a printer file

      For support cases it can sometimes be required, that you include a saved printer file, that is used by the Spool2XML module. This would normally be the converted (XML) printer file, which will make the printing application generate 'XML like' spooled ...
    • AFPDS spooled file adjustment

      Handling mixed CPI and LPI in AFPDS spooled files The input AFPDS spooled files can contain texts in many different font sizes, and that can be a problem, when InterFormNG2 is working on these input spooled files, when trying to map the input spooled ...