tommyhmt
tommyhmt

Reputation: 327

Connect to SFTP dynamically in Azure Logic App

I have a logic app created in Azure which has 2 SFTP connections, is it possible to dynamically connect to the correct one based on the parameter?

enter image description here

The idea is that based on the SFTPConnection parameter (shown above) at step 1, the logic app can then use the appropriate SFTP Connection in step 2

Upvotes: 0

Views: 908

Answers (2)

user24893766
user24893766

Reputation: 1

You can get the connection name from database and store the connection name in a compose action and refer the compose output in the connection details in the workflow json view

"ConnectionName": "@{outputs('Compose_For_connection_Name')}",

Compose_For_connection_Name: the value of this should be connection name in the connection.json file.

Upvotes: 0

SwethaKandikonda
SwethaKandikonda

Reputation: 8254

Currently, this is not supported seems like there is an feedback request already made in Support Dynamic API connection in Logic app designer. You may upvote this recommendation to request it to be implemented as soon as possible.

Upvotes: 0

Related Questions