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

Create a record - pass data from list records

Hi all Having some fun with a flow at the moment, using common data service (current) and also the other CDS connector.

 

 

Steps in flow: 

  • List records (custom entity A)  this entity contains a lookup to contact
  • Apply to each (output from List Records)
  • Create new record (Custom entity B)    - 
    • pass the contact record from entity A into custom entity B:  Contact (Value) this creates the record i need but does not populate the contact record as expected.

 

 

Next thing tried - (But i want it to work as method above!)

 

  • List records (custom entity A)  this entity contains a lookup to contact
  • Apply to each (output from List Records)
    • GET CONTACT (CONTACT VALUE) from custom entity A
      • error: The 'inputs.parameters' of workflow operation 'Get_a_record_2' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'recordId'

 

The test cases I am using are not null as suggested in the error. 

Not sure if this explanation is clear enough but hopefully somebody understands! 

 

The main question is - how do I get the contact record *lookup* and then pass it to the record I am creating? I thought that passing the Contact (Value) from my list records would work but it does not.

 

Thanks

 

 

 

2 REPLIES 2
BDA365
New Member

I am including screen shots here as it would not let me attach in the post:

 

image.png

 

Hi @BDA365 ,

 

Do you mean there is also a lookup column in entity B?

 

Can you share a screenshot of the configuration of Get recod action?

 

Please make sure that the value you fill in the record id field is not empty. You could first add a Compose action and enter the content you filled in the Get record action into Compose, and then check whether the output of Compose is empty.

 

Hope that makes sense.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,912)