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.

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

[{"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"}}]
Was this topic helpful?
Document Information
Modified date:
08 December 2018
UID
ibm10748123