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 Apps / Start flow on item cre...
Power Apps
Unanswered

Start flow on item created in collection

(0) ShareShare
ReportReport
Posted on by 293

I have a simple app with an input field, a button, and a gallery.

 

I'm going to simplify the functionality a bit here, but the overall idea is covered.

 

My gallery has these columns:

  • Input
  • Status

My button has the following OnSelect:

Collect(colResponses,{Input:input1.Text,Status:"Waiting..."});Reset(input1)

 Once an item has been added to the collection, I would like to run a workflow on the input and update the status once the workflow is done.

 

But how can I automaticaly run a workflow in the context of the gallery item?

The user might quickly add three items to the collection, starting three individual workflows.

 

I can call the workflow from within a patch function, which will update the item once run, but how do I trigger an individual run for each item individually?

 

I tried to trigger it from the button, but then the button waits for the workflow run to resolve.

 

So is there a way I can trigger a workflow once a gallery or collection item is created?

 

Edited to highlight I want the flow to trigger automatically. I don't want a button to trigger the flow.

Categories:
I have the same question (0)
  • AlexMCC Profile Picture
    293 on at

    I will add, I tried solving this by adding an autostart timer, with an OnTimerEnd event that starts the workflow with a Patch if the status is "Waiting...". This seems to work, but if two items are added in quick succession, one will not get correctly updated with the flow response.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard