List_files_in_folder Logic App parameter

  • Thread starter Thread starter Fab. Valentini
  • Start date Start date
F

Fab. Valentini

Guest
Hello everyone

I need help in replacing a path parameter in the Logic app action "List files in Folder"

this is the current code:




"List_files_in_folder": {
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['filesystem']['connectionId']"
}
},
"method": "get",
"path": "/datasets/default/folders/@{encodeURIComponent(encodeURIComponent('XFxpdHNhejAyOWE2NS5pdHNlcnZpY2VzLmxvY2FsXE9wZXJhdGluZ19TeXN0ZW1fSW50ZXJmYWNlX0ZpbGVzXFVBVFxGZWVOb3Rlc1xBcmNoaXZlZA=='))}"
},
"runAfter": {},
"metadata": {
"XFxpdHNhejAyOWE2NS5pdHNlcnZpY2VzLmxvY2FsXE9wZXJhdGluZ19TeXN0ZW1fSW50ZXJmYWNlX0ZpbGVzXFVBVFxGZWVOb3Rlc1xBcmNoaXZlZA==": "\\\\aaa\\Operating_System_Interface_Files\\UAT\\FeeNotes\\Archived"
}


and I tried to replace the path and/or metadata parts but couldn't make it work, so I wonder if I need the metadata at all and should be replaced.

the parameter I'm trying to put is successfully used in another part of the app:



"Move_file_to_Archived": {
"type": "Workflow",
"inputs": {
"host": {
"triggerName": "manual",
"workflow": {
"id": "[concat(subscription().id,'/resourceGroups/',parameters('CommonResourceGroup'),'/providers/Microsoft.Logic/workflows/MH.MIP.Common.CopyFile.US')]"
}
},
"body": {
"SourcePath": "@{body('Move_file_to_In-progress')}",
"[parameters('filesystem_feenotes_archived')]"
}
},



thanks for your attention,


Fabio

Continue reading...
 
Back
Top