Hi,
I have a flow that creates a new file, and it looks like this (simplified)
1) Get file content
2) Create file using file content from previous action.
This is working fine, what i do is that i create a file from a template and give it correct name and store it on sharepoint.
But this is when i get some issues, because i have another flow were i want to email that file and it looks like this:
1) Get files (properties only) from the folder the new files is stored.
2) Filter the correct file
3) Get file content
4) Email file as attachment (from content)
This second flow is working perfectly fine with my old files, i enter a file name in Power app, and it run my (second) flow without any issues.
But if i enter the file name of my new file, i get bad request and the file cant be find.
Also when i check the run history, output from Get files properties, i dont see my new file there.
I was told it could be due to Sharepoint indexing, but i have waited 12 hours, and the file can still not be found.
During the time i have opened the file, worked with it, saved it etc. But it seems that files that is created by automate never get indexed.
Any ideas how i cold solve this?
Thanks in advance