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 / cloud flow with two tr...
Power Automate
Unanswered

cloud flow with two triggers: sync issue

(0) ShareShare
ReportReport
Posted on by 50

Hi all, I'm struggling with a problem syncing the id ms form response with the uploaded file of the user. I have a cloud flow with two triggers. The first trigger is "when a new response is submitted" and users fill out their form. Since the form is also open to external people, they can't upload their files through the ms form, then I need to insert into the same flow another trigger "When a file is created in OneDrive for Business" and associate the id response with the corresponding file. The issue is that there is no synchronization between id response and uploaded file.
Example:
Let's suppose this chronological order to send the form, for the first trigger, (people fill out the form): Time1 user1 Time2 user3 Time3 user 2, so we have three pending cloud flows. Then let's suppose the following chronological order for sending the file (second trigger): Time 3 user3 Time4 user2 Time5 user1 The final result will be: User3 has first sent a file, but it will be associated to the form response Id of the user2 instead of user3 !
Any tip/help is appreciated!
Thanks
PS: I also uploaded a picture to make clearer what I meanissue cloud flow.png

 

Categories:
I have the same question (0)
  • AlexPowerApps Profile Picture
    50 on at

    @Sundeep_Malik  I am trying to follow your suggestion by splitting my original flow like parent/child flow.
    I first created a solution and inside that, I create two automated cloud flows. The parent flow has "when a response is submitted " from ms-form like a trigger while the child flow has like trigger "when a file is created (only properties)" (onedrive for business)...The issue is I can't call from the parent the child flow ..is there something that I need to set up to link them?

  • AlexPowerApps Profile Picture
    50 on at

    If someone doesn't upload the file at once, the flow will continue to run ...the issue is the synchronization because as I showed in the first post power automate will have running as flows as users completed the form, but first user (user 3) uploads the file Power Automate associates it to the latest flow (user 2) of the first trigger instead of user 3.  To run a loop I need to have all uploaded files for each user in a certain time period, but how can you associate/relate each file with the right response ID ? I can't find the logical connection to put them in connection.
    Please tell me more about your suggestion.
    PS: Take a look at this picture (translated in bold) I tested by completing three forms and then I simulated a file upload as user3 (as the first post) as you see power automated has associated this file (of user 3) to the latest running flow belonging to user 2...
    state of flows.png

     

  • Sundeep_Malik Profile Picture
    6,484 on at

    @AlexPowerApps 

    Yes two triggers are not possible in 1 flow.

    The flow is working in some cases, because the person fills form, uploads the file.

    But what if he forgets to upload the file and another person uploads a file.

     

    Maybe try to run a loop, till you dont get the file, related to the similar response id.

     

     

  • AlexPowerApps Profile Picture
    50 on at

    Sorry for that, I  usually don't rename any action ...what action are you referring to? Why do you say two triggers in a single flow are not possible? Do you mean for my problem to keep them synchronized? I run it many times and any flows go to the end without any error except for missing the synchronization between the form response id and the file uploaded.
    You say that I need to split it into two separate cloud flows.. but the issue is still present because how can I sync the response id to the correct file uploaded? Do I need to create it as parent/child ?

  • Sundeep_Malik Profile Picture
    6,484 on at

    @AlexPowerApps 

    Nice try, but this will not work.

    I dont know Italian, but did you rename that action??? Two triggers in a single flow is not possible.

    Unfortunately you will have to make two separate flows for this.

    One will be according to the people who fill form and another for the people who are uploading the forms in one drive.

  • AlexPowerApps Profile Picture
    50 on at

    Hi, thanks for getting back;
    well, I haven't tried a flow like father/children. What I did were one cloud flow and two triggers.
    Please let me know what you think.
    Below my flow:
    part1.png

     

    part2.png

     

    part3.png

     

    part4.png

     

  • Sundeep_Malik Profile Picture
    6,484 on at

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard