cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pridDubDub
New Member

Problem creating new CDS Record in Flow

Hey,

 

I'm really stuck trying to use the Create New Record - Common Data Service action in flow. 

 

I've used it a couple of other times for other flows and all seems fine, so I'm not sure what I'm missing this time. 

 

What I'm trying to do is really simple, when a record gets created for Entity A, I want to create a record in Entity B. 

 

It's getting triggered fine, but I'm getting a fail 'bad request' on the create step. 

 

{
  "status"400,
  "message""Object reference not set to an instance of an object.",
  "error": {
    "message""Object reference not set to an instance of an object."
  },
  "source""xxxxxx.crm11.dynamics.com",
  "errors": [],
  "debugInfo""clientRequestId: b909b1d9-5091-4a87-9d9a-23e0a8d3b085"
}
 
In the body, there is a blank input for 'ownerid_type' - which I feel might be important in some way, I'm just not sure how 🙂
 
{
  "name""Test",
  "_ownerid_type"""
}
 
Many thanks for your help
Pete 
1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User III
Super User III

@pridDubDub
This sounds like a Power Automate question rather than a PowerApps question. Suggest you post it in the Power Automate forums instead where you will receive a better/quicker response.

https://powerusers.microsoft.com/t5/General-Power-Automate/bd-p/MPAForum

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

2 REPLIES 2
mdevaney
Super User III
Super User III

@pridDubDub
This sounds like a Power Automate question rather than a PowerApps question. Suggest you post it in the Power Automate forums instead where you will receive a better/quicker response.

https://powerusers.microsoft.com/t5/General-Power-Automate/bd-p/MPAForum

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

Thanks 😀

 

I've done as suggested.

Pete 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (64,762)