Save in resources

Save in resources

When using systems like IBM i or in the cloud, then sometimes the client needs an easy way to save an XML for later viewing while creating and testing workflows.

The IBM i green screen or remote desktop connection to cloud servers etc. is not an ideal way of doing this.

 

This can in those cases be done by saving the workflow payload using the workflow component "Save in resources" like described below. The component saves a resource in the InterFormNG2 Library.

 

It is only recommended for using this for debugging/testing purposes and not as general way of archiving customer data, since the resource library isn't optimized for an extreme number of files.

 

The "Save in resources" functionality is not limited to XML documents, but all file types can be saved, like generated ZPL or PDF files.

 

Related workflow components are: Delete resourceResource to payload and Resource to attachment.

 

The parameters of the Save in resources workflow component are:

 

NG2WorkflowSaveInResources0001

 

Content type

Here you specify in which resource directory the payload is to be saved. It is a good idea to store the payload in a resource directory, that fits the payload type, but that is not required.

 

Path and file name

The relative path (from the resource directory of the selected type) and file name, that is to be stored.

    • Related Articles

    • Versioning of resources

      One optional feature in InterFormNG2 is versioning of resources. The versioning features makes it possible to maintain a version history on resources in the library. Versioning of resources is a way to keep track of changes to resources and this can ...
    • List resources

      The advanced, utilities workflow component, List resources can be used in order to generate a list of all resources in a specific directory. The list is generated as an XML file and is output into the payload of the current workflow. Please notice, ...
    • Save a template

      You probably want to save your changes, after you have changed a template in the designer. All export/import options of templates (apart from a simple save) is covered in the Library here. To save a template you click the save option on the upper ...
    • 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 ...
    • Save XML in property

      This advanced other workflow component, Save XML from property, loads an XML from the payload, and puts it into the property. The property of the workflow can be used as memory cell to store a file while processing another file in the payload. This ...