Hi! I have the FAQ record type that has a related record type Answer. https://www.screencast.com/t/YBLj0uEs
When trying to update an existing FAQ, have this in the context expression https://www.screencast.com/t/xV2KlFZU52Y
but nothing is getting attached in the Answer field in the interface. https://www.screencast.com/t/xi5hw978bsK
When testing the answer parameter part separately, i get this result with Text field present and correct, but can't figure out how to attach it to the interface form for editing a FAQ https://www.screencast.com/t/YMzR0SFxNi
New to using record types and, especially, their relationships. Hope to get some guidance!
Thanks!
Discussion posts and replies are publicly visible
I am assuming that the answer parameter accepts fields that you are passing in the querySelection. If yes, then why are you trying to index the answer field again towards the end of the query? For more assistance, can you please show the expression and also the type of rule inputs you have created on your interface?
I was indexing again because it was the only way the rule would return what I need it to return.
Here is the rulehttps://www.screencast.com/t/SMywWOmcW5y
Here is the interface rule inputs (question and answer are CDTs) https://www.screencast.com/t/YUMEUTy3V7e
Here is the process variables for the process model (question and answer are also CDTs) https://www.screencast.com/t/ljRzNtBJ
Thank you, Harshit
They look like CDTs and not records. Because in another screenshot you have added, the name of the "Answer" record looks different. In addition to that, you haven't passed any value in "relatedRecordData' RI of the expression because of which you are not able to query data from the related record (Answer) while trying to fetch it from the data subset of Main record (FAQ)
I am able to retrieve the data I need from the Answer but it is not attaching on the interface. Just edited the rule, and added RelatedRecordData and not getting this Error: An Error Has Occurred Could not cast from Text to TFAQA_Answer. Details: CastInvalid