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 Automate / creating a record in a...
Power Automate
Answered

creating a record in a sub table on creation that is linked to the created table

(0) ShareShare
ReportReport
Posted on by 59

Hi,

 

I am trying to create a new power Automate for handling work orders.

 

The concept is that on the creation of a work order in the work order table (cr318_sagemworkorders), it will create some records in a linked table (cr318_sdeworkorderpicklists).

 

I have a trigger on the cr318_sagemworkorders table

troyhoskison_0-1627306806407.png

 

then later in the code I have a add new record on the cr318_sdeworkorderpicklists table:-

 

troyhoskison_1-1627306875826.png

 

in the field for the link to the work Order I have put in the SageM Work Order unique ID

 

troyhoskison_2-1627306934017.png

using the dynamic content:- 

troyhoskison_3-1627306975897.png

 

however when I run it I get the following error:-

 

troyhoskison_4-1627307062130.png

 

but if you look at the work order data then this is the correct reference number, and it does exist. 

troyhoskison_5-1627307172924.png

 

I have also tried using the work order field and that came with the same error message (but with WO021113 instead)

 

When I have created the record manually and then looked that the Pick list table. it has that same reference code:-

 

troyhoskison_6-1627307543946.png

 

it feels like I have made a simple mistake, but I can't find the flaw in my logic.

 

Troy

 

Categories:
I have the same question (0)
  • Verified answer
    troyhoskison Profile Picture
    59 on at

    I found the solution here:-

     

    Resource not found for the segment issue in Power ... - Power Platform Community (microsoft.com)

     

    Apparently I needed to change the field to  \<pluralised table name>(Sagem Work Order)

     

    troyhoskison_0-1627309532317.png

     

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @troyhoskison 

    Glad that your issue is solved.

    And thanks for your posting and sharing the solution in the forum as it would be helpful to anyone who encounters similar issues.

    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

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 Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard