Hi,
I was building a flow and was being helped by a man in the Powerapps community. Flow is now working but only while testing with the trigger action. When the flow is activated through powerapps, it doesn't work. Something about access to the Sharepoint folder? I've given access to the folder for all users of the company.
Reference to problem: (towards the end of the forum
Hi @Anonymous
IN the create word document pdf action, can you remove the format date time expression from the file name and in that place, select the display name of the file created from the previous action?
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @Anonymous
The date i added above was for dd (date) and ss (second). For month, you can add as dd-MM.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
I am getting a similar error within the "ConvertWordDocumentoPDF" action of the flow. This flow was copied (save as then turned on) from another flow. May that be the issue? The word doc works and is transferred within Sharepoint but fails at the pdf part. The reason why "File was copy and pasted from another working flow because I can't click on the File I want the pdf to go towards. I have to manualyl type it in. Why can't I click on "Standard Submissions" within the Sharepoint drop down they give me?
Error:
@yashag2255 I added the code within the expression of file name before file name. Numbers appeared to create a unique ID but no date like 4/21 (today's date)?
Hi @Anonymous
Add this expression before the filename, formatDateTime(utcNow(),'dd-ss')
This will add todays date and the seconds from the timestamp to the name of the file.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
@yashag2255 I removed the flow, created a copy one within power automate and then ran it through powerapps. It ran smoothly. Ran it a second time, it failed. Although, when testing it in power automate the flow works. So I think the problem is the unique identifier. The name for the word doc and pdf is "vFileName." Do you think this is the issue? The name has to be unique? And if so, how do I do this? A time stamp or ID added somewhere to the name?
Hi @Anonymous
This is one of the most common errors in Flows with Power Apps. This happens when you add an action to the flow after adding the flow to Power Apps. You might want to remove the flow from the app and then add it back to the control that is being used in the app to trigger it.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
@DeepakS Please clarify if "shared_sharepointonline_1" if this should be a folder within my Sharepoint (it's not), a phrase to input, or what is it?
This is my flow, the error is within "Create file." I have updated the "Createfile_Filename" to "Createfile_Filename_1." It still does not work. I do not have a "shared_sharepointonline_1" folder. Or where can I find this name? Or do I just input "shared_sharepointonline_1" within File Name? The flow works only with manual trigger of when I fill in the data fields within power automate, not within powerapps.
Hi @Anonymous
After looking at the error message that you posted in Power Apps forum , it seems you are using incorrect connection in create file action. update the connection and flow should work
Regards
WarrenBelz
146,587
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional