I have been working on using Partner Directory in integration flows for connection parameters.
I am able to reference the partner directory ok for the RECEIVER (SAP)
However, I have not found a method to reference Partner Directory values in the SFTP SENDER connection. Would anyone be able to advise about this?
Use content modifier and set exchange property value
Then in a Groovy Script Step, use the RECEIVER_ID set previously to obtain the RECEIVER_ADDRESS:
Then parameterise this in the Receiver Connection as shown below:
However, I am not able to do the same for the Sender SFTP Connection - for example for 'ADDRESS' (Host) because the connection is done before I can add further steps.
Could anyone advise about how best to achieve this?
Blogs which I have reviewed, for reference.
Step by step example
Dynamically Configure SFTP Adapter
I would like to avoid using Groovy Script to do the SFTP connection if possible, unless this is the only way?