IBM Support

How to generate a text without writing to a file

Question & Answer


Question

How to generate a text without writing to a file

Answer

The attached workflow shows how it is possible to use the File generator plugin to create a text at run-time without writing to a physical file.

The important part is to enable Return file content?" and to not specify a target file path.

Screen_Shot_2015-06-17_at_12.17.20.png

In this example an xml is generated with variable parts specified at run time.

The file content is fully customizable so this would work with any sort of text file not just xml.

At run time the generated text will be available as output

Screen Shot 2015-06-17 at 11.58.54.png

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSBQSE","label":"Aspera Management and Automation"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
08 December 2018

UID

ibm10748123