How to save multiple Local! variables to rule inputs with record type ri!record.Recordtype

Hi all

I am able to save a local variable defined in an interface into a ri! in the submit button

buttons: a!buttonLayout(
      primaryButtons: {
        a!buttonWidget(
          label: "Submit Request",
          value: local!hiringmanager,
          saveinto: {
           
          ri!record['recordType!NJW NewJoiner.fields.hiringmanager']

          },
          submit: true,
          style: "PRIMARY"
        )

How is the syntax to do the same for multiple local variables that have to be saved into some ri!record.Recordtype.field

any suggestions really appreciated

thank you

Cate

  Discussion posts and replies are publicly visible