It is possible to load a file from the local file system into the payload of the workflow. This will overwrite the contents of the payload, so you might consider to save the payload e.g. into a property or an attachment before you run this advanced utilities component called, From file to payload.
The component has these parameters:
File path
The path (including the file name) of the file, that you want to load into the payload. This can be a fixed text, but if you click the T icon on the left, then you can use an XPath expression that e.g. use a variable like above. In the example above we load the file, Demo_Invoice.xml from the file system.
Output type
Specification of the file type, that is loaded into the payload. In this example we expect an XML file.