Skip to main content
March 18, 2024
Question

create a reference to a related record, include either a relationship reference or the required common field value for "mbappid" in process model

  • March 18, 2024
  • 3 replies
  • 0 views

I am trying to cast record fields, and I am having that one field that is referenced in another record and when using the casting rule i am including this field. now when i write into the record using write record node:

The input "Records" cannot insert or update a record which is referring to different referenced records via mbappid at the same time. To create a reference to a related record, include either a relationship reference or the required common field value for "mbappid". Location of conflicting changes: record(id: 123570)

my approach was:

a!forEach(
  items: pv!familyMembersDetails,
  expression: rule!CR_recordType(
    record: fv!item,
    status: "DEACTIVATE",
    mbAppId: fv!item['recordType!{record}record.relationships.{record}relrecord.fields.{}mbAppId']
  )
)

but it still returns the error 

3 replies

stefanhelzle0001
Brainy
March 18, 2024

Sorry, but I do not understand the issue. What is this "AJM_CR_recordType" doing? Can you explain in more detail?

March 18, 2024

its a record casting rule

stefanhelzle0001
Brainy
March 18, 2024

Can you explain the whole situation in more detail?

I did a podcast episode about how the get great answers here: appian.rocks/.../