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

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 

  Discussion posts and replies are publicly visible