Hello everyone!
I am demoing a simple flow that checks for new files in a Sharepoint folder and then writes these files into a local directory using a Gateway. The flow looks like this right now. The 'Compose' step will go once it works.
Now what happens is that if I manually enter the second input on the 'Get file contents' action using the UI, it works. However, if I copy the same string into the compose action and reference it, it does not work. I found out that the flow converts the manual string into a working format, but does not do that when copying in that same string, or referencing it via a compose.
This is what Power Automate converts it to:
- %252fFreigegebene%2bDokumente%252fCAT%2bAX%252fD365%252fPower%2bAutomate%252fDemo%2bFile%2bTransfer%252fDualWriteInitiaSyncErrorBlob_53b9cfe1-cef0-4519-896a-7c1f328721f7_2022-10-28T08_37_01.3796797%252b00_00.txt
This is what any other version of that string is put in
- Freigegebene Dokumente/CAT AX/D365/Power Automate/Demo File Transfer/DualWriteInitiaSyncErrorBlob_53b9cfe1-cef0-4519-896a-7c1f328721f7_2022-10-28T08_37_01.3796797+00_00.txt
I tried using EncodeUriComponent:
- %2FFreigegebene%20Dokumente%2FCAT%20AX%2FD365%2FPower%20Automate%2FDemo%20File%20Transfer%2FDualWriteInitiaSyncErrorBlob_53b9cfe1-cef0-4519-896a-7c1f328721f7_2022-10-28T08_37_01.3796797%2B00_00.txt
Is there any function to have this second string transformed into that first string, / being replaced by %252f instead of %2F as seen using EncodeUriComponent()?
Thank you in advance for any help or guidance you can offer!

Report
All responses (
Answers (