Hi,
How can i navigate and use my Power App and complete my flow creation in Power Automate.
I tried choosing Action-> Power Automate and Create a new flow but it isn't creating new flow. In few tutorials, it was given that new flow can be created by clicking 'Create a new flow' button. But for me, It redirects to Power Automate Templates page. How can I use my App and its components in a flow?
'Create flow' redirects to templates page in Power Automate.
@gopalakrishnan , you can go to https://flow.microsoft.com/ and create a flow with PowerApp trigger, then come back to your PowerApps, to go Power Automate and you will see the flow that you created.
Thanks for the reply.
Fine. It asks to fill in to an expression,.
What should I fill here?
Can I use the components defined in the App in the flow?
@gopalakrishnan , you need to complete the expression as follows, you can use the component values in the between the parenthesis, see here https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-get-a-value-in-Power-Apps-and-pass-it... for further details.
When i try to give arguments, it throw my an error
It isn't allowing to enter any argument.
How can I resolve it?
@gopalakrishnan in the flow you also need to select the dynamic content “Ask in PowerApps” for number of fields you want to pass from PowerApp to flow. So in the Flow, for the action that you have added, select Ask in PowerApps from dynamic content, save the flow and again try providing parameters to run expressions in PowerApp.
Thanks for the reply.
How I need to enter the value of the variable generated using 'Ask in PowerApps'?. Is it in JSON format or something? For instance: If I'm generating variable for 'File content' using 'Ask in Power Apps', Do I need to enter in this way when I test the flow manually:
{ "File content" :"pdf"}
@gopalakrishnan if you are trying to pass file from PowerApps attachment control to flow, then refer to this blog https://officepoweruser.com/upload-a-file-to-sharepoint-in-power-apps/, there are significant steps you need to follow.
Thanks for the reply. I'm trying to upload a file to SharePoint. I gave file name as 'Ask in PowerApp' and passed file in Run method. But I'm confused with how can I pass file name while testing it manually.
It gives this error
Unable to process template language expressions in action 'Compose' inputs at line '1' and column '7952': 'The template language function 'dataUriToBinary' expects its parameter to be formatted as a valid data URI. The provided value was not formatted correctly.
@gopalakrishnan , please refer to the given blog link, it has step by step walk through on how you can upload file to SharePoint from PowerApp, if you feel stuck in any of the steps let me know.
Thanks for the reply.
I went through the document. I found out a template available for my use case as well.
I am stuck with how I need to give the values of file name and file content when i run the template manually. I am getting error
Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '2492': 'The template language function 'dataUriToBinary' expects its parameter to be formatted as a valid data URI. The provided value was not formatted correctly.
I can't find the answer to that question in that blog link.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
80 | |
55 | |
55 | |
43 | |
39 |
User | Count |
---|---|
83 | |
81 | |
76 | |
65 | |
42 |