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