Hello,
I'm trying to create a file with a dynamic name, based on the payload of the message.
We're trying to create a filename with the bold content in the name %batchId%.xml. The subtitution we use is
payload:batch,1,batch-info,1,id,1
<ns1:batch xmlns:ns1="http://www.atosworldline.com/archivingPortal/receivers">
</ns1:batch-info>
</ns1:receivers>
</ns1:batch>
The following error is shown, when processing the message through the receiving fileadapter.
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: batchId
kind regards,
Pieter