web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate does no...
Power Automate
Answered

Power Automate does not get triggered from Power Apps screen (here I a click a button to submit a form from that screen) - URGENTLY need help

(0) ShareShare
ReportReport
Posted on by 83

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 ButtonForm and Button

 

Please let me know what am I missing.

 

Regards

Chan Dan

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard