Integrating Power Apps with Microsoft Automate
My flow on Microsoft automate worked just fine but I wanted to integrate with power app to create a visual for it and to make it easier for other people to use it. It basically generates a word document extracting the information from a table. The user only has to select which city they want to create that document (dropdown) so every information will be extracted with that filter and added to the model.
My problem has been with the power apps. My flow can take up to 30 seconds to run. So I want a “waiting message” so that if the user clicks the button to download the doc too soon the system will tell him to wait and even without it has had to some troubles working.
The codes that aren’t running:
On the first screen I wrote under OnHidden : Set(varLoading; true);
Set(varLink; Microsoftfluxname.Run(Dropdown1.Selected.Value).filelink);
Set(varLoading; false)
filelink is the name of my title on my command “Respond to a Power App or flow” on Microsoft automate
See it under:
…
“body”: {
“filelink”:“@outputs(‘Create_sharing_link_for_a_file_or_folder’)?[‘body/link/webUrl’]}”
…
On the second screen (on an icon) I wrote under OnSelect :
If(IsBlank(varLink);
Notify(“Loading document… wait”; NotificationType.Information);
Launch(varLink)
)
That last code also has some problems according to the app verification
Please help! I’ve been stuck for a week!