Skip to main content
New Participant
August 26, 2026
Question

New to Appian, Writing to a recordtype

  • August 26, 2026
  • 1 reply
  • 25 views

I’m trying to write to a recordtype in Appian but I keep getting this error and I have no clue why.  


Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error [evaluation ID = 88f9f:179c1] : An error occurred while executing a save: Expression evaluation error at function a!writeRecords [line 124]: Record Type constructor must use keywords”


a!buttonWidget(
            label: "Submit Request",
            disabled: not(local!bookingResult.isValid),
            saveInto: {
              a!writeRecords(
                records: 
                  'recordType!{UUID}CRBTN_Booking'(
                    'recordType!{UUID}CRBTN_Booking'.fields.roomName: local!roomName,
                    'recordType!{UUIDCRBTN_Booking'.fields.roomCapacity: local!roomCapacity,
                    'recordType!{UUID}CRBTN_Booking'.fields.attendeeCount: local!attendeeCount,
                    'recordType!{UUID}CRBTN_Booking'.fields.requestedBy: loggedInUser(),
                    'recordType!{UUID}CRBTN_Booking'.fields.status: "Pending"
                  )
                ,
                onSuccess: {
                  a!save(local!roomName, null),
                  a!save(local!roomCapacity, null),
                  a!save(local!attendeeCount, null),
                  a!save(local!confirmationMessage, "Your booking request was submitted.")
                },onError: {
                  a!save(local!confirmationMessage, "Something went wrong: " & fv!error)
                }
              )
            },
            submit: true,

….

    1 reply

    harshas2775
    Brainy
    August 26, 2026

    Is the variable local!bookingResult also a record type? If yes then the disabled condition might be the cause of this error as its without record type mapping.

    As for a!writeRecords(), given the configuration here it looks alright to me. I would suggest to add {} around the record type against “records” attribute of a!writeRecord() though.  Also, In your interface you have the record fields showing up properly right?, e.g.