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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Trigger a flow from Po...
Power Apps
Answered

Trigger a flow from Power Apps within a solution

(0) ShareShare
ReportReport
Posted on by

Hello,

 

That's my first try of working with solutions.

For that, I've created a new solution and add an existing canvas app in that solution.

In this canvas app, I have a triggered flow that needs 3 parameters. But I have this error:

raks_0-1707903291551.png

 

My flows cannot work with 2 parameters and it still works perfectly in the classic environment without solution.

 

I cannot recreate the flow from scratch because, in the dynamic content, I cannot add a parameter from Power Apps, I can access only to the environment variables.

 

I think the problem is only linked to the fact that I work with solutions. But that's the goal of my exercise so I should find a solution for this flow.

I have the same question (0)
  • Devvj Profile Picture
    1,132 Super User 2024 Season 1 on at

    Hi @raks 
    Could be that the flow is not refreshed in your canvas app, try run a refresh and try again:

    Devvj_0-1707916045994.png


    Else try to remove it and add it again.

    Hope it helps!

     

  • raks Profile Picture
    on at

    I've already refresh or remove and add again many many times.

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @raks ,

     

    I don't think solutions will alter such change.

    Can you check where you have called the Flow in your PowerApps? 

    Also, verify the count of parameters is equal to that within your Flow?

     

    Is yes, then it shouldn't be an issue. 

    Send pic if any query.

     

    Hope this helps

  • raks Profile Picture
    on at

    Call to the flow that upload a photo on SharePoint in DV environment:

    raks_0-1707977804200.png

    Same call in another environment without DV (no error):

    raks_1-1707977968394.png

    raks_2-1707978028791.png

    raks_3-1707978040816.png

    raks_4-1707978063167.png

    The flow receives 3 arguments: the item id, the filename and the file content.

    The file uploaded is renamed with the item id and keep the same extension and then, is uploaded to a SharePoint site.

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @raks ,

     

    Can you show the trigger in both environments?

    I suspect something is changed there, if everything is as it is, remove the flow from the App and re-add it.

    See, if you can pass proper arguments after this.

     

    Also, do check the name of the flow used in the App. Sometimes adding flow again on existing one, creates different name with _1 ahead, so do check that as well.

     

    Hope this helps

  • Verified answer
    raks Profile Picture
    on at

    I don't know why but I'm now able to add a new parameter from Power Apps. So now it works, yesterday not. No more explanation...

     

  • Devvj Profile Picture
    1,132 Super User 2024 Season 1 on at

    @raks Are you using the v1 trigger from PowerApp?
    In my opinion its much easier to use the v2-trigger when working with parameters, if you are able to change that I think thats a good idea.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard