
Announcements
Hello,
I had a power apps which was working absolutely fine. It is published.
I am editing and making some changes. It is saved but not published.
Here there is a screen, which has a form, with my details and there is a button, when I click on the button, it does trigger the power automate associated with that form. If the power automate gets triggered, the client information will be populated into the database.
Form Name = Add client package
Flow name = Power . Automate
Please find attached the code for
'OnSuccess' for Form
'Power.Automate'.Run(
Add_Client_Package.LastSubmit.ClientID,
Add_Client_Package.LastSubmit.ID,
Add_Client_Package.LastSubmit.AssistantEmail,
If(
IsBlank(Add_Client_Package.LastSubmit.AdditionalLink1),
"",
Add_Client_Package.LastSubmit.AdditionalLink1
),
If(
IsBlank(Add_Client_Package.LastSubmit.AdditionalLink2),
"",
Add_Client_Package.LastSubmit.AdditionalLink2
),
If(
IsBlank(Add_Client_Package.LastSubmit.AdditionalLink3),
"",
Add_Client_Package.LastSubmit.AdditionalLink3
),
If(
IsBlank(Add_Client_Package.LastSubmit.AdditionalLink4),
"",
Add_Client_Package.LastSubmit.AdditionalLink4
),
If(
IsBlank(Add_Client_Package.LastSubmit.AdditionalLink5),
"",
Add_Client_Package.LastSubmit.AdditionalLink5
)
);
Set(
LoadingSpinnerVisibilty,
false
);
If(
IsMatch(
Add_Client_Form.LastSubmit.'Language Preference',
"English"
),
Navigate(
Assign_Forms,
ScreenTransition.Fade
),
Navigate(
Assign_Forms_French,
ScreenTransition.Fade
)
);
'OnSelect' for Button
SubmitForm(Add_Client_Package);
Also Please find attached the pictures.
Form and Button
Please let me know what am I missing.
Regards
Chan Dan
Take a look at your flow. The error would suggest that the flow has been turned off. This can happen if a flow is idle for an extended period of time or fails too many times in a row. Did you make any changes to the flow? If you did you'll need to remove the flow from Power Apps and re-add it. Otherwise it won't pick up the most current version.