Hi,
I am creating a work flow to create a folder in the Document Library of my SharePoint site when an item is added to a list. This flow worked fine until I added a date to the File Folder name. I am trying to format the date as 'yyyyMMdd'. I keep getting a Bad Gateway error.
I have tried several methods, including using the expression: formatDateTime(triggerOutputs()? ['body/Start_x0020_Date'],'yyyyMMdd')
My current attempt uses the method in the screenshots. I have removed the forward slashes from the date, as they were creating unwanted subfolders. I am not sure what else is wrong with the date. I would appreciate any thoughts on how to resolve. Thanks!
Solved! Go to Solution.
Hello @BIMSupport ,
I think you have an empty space before the 'Outputs' in the 'Create new folder' action and that's the reason it's failing.
Hello @BIMSupport ,
I think you have an empty space before the 'Outputs' in the 'Create new folder' action and that's the reason it's failing.
You're right!! Wow... can't believe I missed this. I guess fresh eyes really make a difference. Thanks so much for your help!!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
86 | |
57 | |
39 | |
35 | |
33 |
User | Count |
---|---|
79 | |
67 | |
57 | |
49 | |
40 |