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 / SubmitForm - with 2 di...
Power Apps
Answered

SubmitForm - with 2 different Sharepoint list - And a little logic help

(0) ShareShare
ReportReport
Posted on by 123

Hi everyone, hope all is well.
I got an App connected to two different Sharepoint lists.

One is Called A

The other one is called Milestones

The App takes info the user inserts in the App and uploads it to one of these lists.
The flow is as follows:
1. user inserts info that goes to A (trough submitForm)

2. App asks if user wants to add one or more Milestones to this A.

3. If the user answer is yes then there is a new screen with new information the user needs to fill in.

4. This new info will then be uploaded to the A Milestones list.

All this has been done by a colleague that left. I am pretty new to this and am still trying to understand many parts of it.


My task is to get automated mails at certain dates from each milestone. This is possible with automated Flow (Recurrence -> get Item (filter) -> For each(sent mail))
My issue is that my automated flows gets item from list 2 (A Milestones) and i need some information (email addresses) that is stored in list 1 (A).

With my little knowledge i see two possibilities:

1. Somehow, in powerapps, i add the info that is stored to list 1 (A) to list 2 (A Milestones). Here the question that arises is. How exactly does the submitForm work? > What variables does it upload to my list? > all? > only the ones that are written in the same "OnSelect" as the SubmitForm? I cant seem to find a clear explanation of how it works and therefore cannot work this out.
2. In AutomatedFlow, i get items from list 2 but how do i get to use variables from list 1 to use them in my "sent to" input 

Thank you in advance!

Categories:
I have the same question (0)
  • Lino Profile Picture
    123 on at

    I see now that SubmitForm('listname') uploads all info that are in the dataCards. How do i add a dataCard to a form then?

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Lino ,

     

    Since users are able to add one or more Milestones to the new ORE, I believe there is a LookUp column inside the ORE Milestones list, could you confirm this? If there is, then in your flow in the Apply to each loop, you can use a Get item action and the item ID field can be populated by the dynamic content ORE LookUp Id and get the corresponding item from ORE list, then use the Email column value in the Send an Email action.

     

    In my test2 list there is a LookUp column testT1 (single selection) and look up the item from test1 list:

    vjefferni_2-1713321626681.png

     

    And in test1 list there are Email/people columns, then my flow I can get the value from test1 and populate in Send an Email:

    vjefferni_0-1713321483331.png

    vjefferni_1-1713321510212.png

     

    Best regards,

  • Lino Profile Picture
    123 on at

    Hi @v-jefferni 
    Sorry for the delay.
    As far as i know, there is no lookup column. How can i confirm this?
    From what i understand, the app first ask info that is uploaded to the ORE list, then it keeps the id in a global variable and reuses it when users inserts the information to the Milestone list.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard