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 / Create related records...
Power Apps
Unanswered

Create related records using model driven apps or flows

(0) ShareShare
ReportReport
Posted on by 70

I am creating a model driven app. I want to automatically create records that are related to related entities when creating another record. An example will follow.

 

Info

I have the following tables in my dataverse environment:

- Sessions

- Products

- Inspection Sets

- Samples

 

Relationships:

Inspection Set to Sessions 1:N

Inspection Set to Products 1:N

Product to Samples to 1:N

Session to Samples 1:N

 

An Inspection set contains a number of products. Many inspection sets and products exist currently in the dataverse environment. Now I want to create a session for an inspection set. When creating a session I also need to create its samples. These samples should be related to the products in the inspection set.

 

Example

So if my inspection set (called InsSet) has two products (prod1, prod2) and I want to create a new session for InsSet, than I also want to create two samples (sam1, sam2), such that sam1 is related to prod1 and sam2 is related to prod2. Is there a way to this in model driven apps?

 

Possible solutions

I thought of using a cloud flow to create related records, but I don't know if I can create multiple records that are related to related records of a session.

Should I maybe use a business flow for this?

I have the same question (0)
  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @MSchd 

     

    You can use Power Automate, the form will appear but it will not work. Only tendrias that are the conditions that we mention


    "Now, if my inspection set (llamado InsSet) has products (prod1, prod2) and you want to create a new session for InsSet, you also want to create your products (sam1, sam2), how sam1 is linked to prod1 and sam2 was related to product 2. ¿Hay some ways to have these applications based on models?"

     

    Must be established in the flow so that every product that creates a message for the product is created, and you can relate only to the fact that there are many messages in the product field. From this form when creating a message it will be said that the product is lost.

     

    Please note that if your product relationship is a 1:N relationship it will allow you to create more of a message for a mismo product.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • MSchd Profile Picture
    70 on at

    I'm sorry. I don't understand. I am having trouble finding good tutorials on using cloud flows with dataverse. Would you have any suggestions maybe?

  • Jonathan Manrique Profile Picture
    2,695 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard