Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Optional Parameters in PowerApps Flow

(0) ShareShare
ReportReport
Posted on by 14

Hello everyone,

 

I was wondering is it possible to have a flow that can accept a dynamic amount of parameters based off of a condition?

 

For example, let's say I have a couple SQL tables I want my PowerApp to be able to perform CRUD operations on and I need to create a flow to add data to the tables.  Table 1 is called Sales with columns Date, Discount, SaleTotal, and Table 2 is called Products with columns Category, SubCategory, Price, and Manufacturer..

 

I think it's rather unoptimized to have to create a new version of the same flow function for every table just because they have a different set of fields.  Is there a way to make it so a flow can accept an optional number of arguments so I can make a function that can either look like SubmitData('Sales', '2/24/19', '3.00', '24.50') or SubmitData('Products', 'Office', 'Desk', '119.99', 'OfficeEnsemble') depending on what the first argument is.

  • IDBdesign Profile Picture
    14 on at
    Re: Optional Parameters in PowerApps Flow

    Gotcha.  Is there a specific ideas forum I can submit to like PowerApps has?

     

    Thank you @v-bacao-msft 

     


    @v-bacao-msft wrote:

    Hi @IDBdesign ,

     

    Great idea, it seems to reduce a lot of repetitive work.

    Unfortunately, at present, an action in Flow can only operate on a specified table. I am afraid there is no way to achieve similar requirements for now.

     

    Best Regards, 

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Optional Parameters in PowerApps Flow

    Hi @IDBdesign ,

     

    Great idea, it seems to reduce a lot of repetitive work.

    Unfortunately, at present, an action in Flow can only operate on a specified table. I am afraid there is no way to achieve similar requirements for now.

     

    Best Regards,

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1