I created a flow to insert the MS Forms Pro Survey response variable data to CDS but getting the error "Resource not found for the segment " Question field. When removing the value in Question field it creates the record but it is not getting associated with the respective question column. Can anyone able to help me on this.
Thanks @Syndicate_Admin. I changed the activity from Common Data Service(current environment) to Common Data Service and the flow worked with correct question mapping.
I don't believe the logical name of the linking entity will be questions, as it is a part of the customer voice solution, it should have some sort of prefix.
You can check then logical name in the entity under customizations of the CDS instance.
historically, it would be msfp_questions(<id>) but I can't say if this is still the name of the field
- I double checked in the entity the question id is passing the correct value
- Followed the instructions in the link and passed the value under question() & questions() but still getting the same error
Hi!
Maybe there is an incorrect mapping happening here.
There are a couple things you can check:
- The Id that you are passing in the Question field, is it the Id of your Question? - double check for sanity reasons
- If this field acts like a lookup in CDS, sometimes passing just the Id isn't enough. You might need to do something like question(<questionid>). reference link https://community.dynamics.com/365/b/linn-s-power-platform-notebook/posts/power-automate-how-to-set-lookup-field-value-in-common-data-service-current-environment-flow-connector
-- the best way to test this is to check the name logical name of the Question entity in CDS. Flow uses the same syntax as CDS internal calls to cross map records
Let me know if there progress in your investigation.
Adis
136
Super User 2025 Season 1
Sohail Ahmed
81
Jonas "Jones" Melgaard
77
Super User 2025 Season 1