Azure / Azure/LogicAppsUX

In Standard LA, "Folder Path" field is not functioning correctly in "SFTP-SSH: When a File is Added or Updated" connector

Open
#6,057 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

### Describe the Bug with repro steps

1. Create a new stateful Workflow in a Standard Logic App
2. Set the Workflow to begin on the action "SFTP-SSH: When a File is Added or Updated"
3. Set up a valid Connection in the action, at which you desire the workflow to initiate when a file gets added or updated
4. Set the "Folder Path" to be anything besides the root directory of the Connection that you enter
5. Set up a second stateful Workflow in the same Standard Logic App
6. Once again, set the Workflow to begin on the action "SFTP-SSH: When a File is Added or Updated"
7. Use the same Connection made in Step 3
8. Set the "Folder Path" to be somewhere different than where you pointed to in Step 4
9. Enable both workflows that you have created
10. Upload a file to one of the folder paths identified (in either Step 4 or Step 8)

After this, you should find that both workflows trigger, and one of them will claim it triggered on a file that does not exist in the specified location.

Note that information in this post has had customer data redacted; I'd be happy to share the full details with Azure support directly.

### What type of Logic App Is this happening in?

Standard (Portal)

### Which operating system are you using?

Windows

### Are you using new designer or old designer

New Designer

### Did you refer to the TSG before filing this issue? [https://aka.ms/lauxtsg]()

Yes

### Workflow JSON

```json
{
"type": "ServiceProvider",
"kind": "Polling",
"inputs": {
"parameters": {
"folderPath": "/Hourly/Flow",
"includeFileContent": false,
"oldFilesCutoffTimestamp": "@getPastTime(1,'minute')"
},
"serviceProviderConfiguration": {
"connectionName": "Sftp",
"operationId": "whenFilesAreAddedOrModified",
"serviceProviderId": "/serviceProviders/Sftp"
}
},
"recurrence": {
"interval": 1,
"frequency": "Minute"
},
"splitOn": "@triggerOutputs()?['body']"
}
```

### Screenshots or Videos

The image below shows the output of the Logic App Workflow run, pointing to a file (*sendouthrly\_20241108.csv*) that does not exist in the folder path specified

![Image]()

The image below shows the folder path specified above, where the file name *sendouthrly\_20241108.csv* does NOT exist

![Image]()

The image below shows the folder path at which the file named *sendouthrly\_20241108.csv* DOES exist - notably a different folder path than the one specified in the SFTP connector. Notably, this folder path and the one shown above though do share the same SFTP root connection.

![Image]()

### Browser

Chrome

### Additional context

*No response*

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.