Skip to main content
eddym0001
September 10, 2021
Question

Record view issue

  • September 10, 2021
  • 8 replies
  • 0 views

Good morning everybody,

I have created an summary view interface, which has two RI (solicitud and expenses). So when i call the interface in the record type: ,

When I clicked in the list view, I obtained this error An Error Has Occurred An error occurred while retrieving the data for "AT Expense Report". Details: Expression evaluation error: Keyword and non-keyword arguments must not be mixed. Used in: recordbodywrapper. (APNX-1-4205-003)

When I changed the setting (second screenshot) in the list view, I obtained this error 

Error Evaluating UI Expression Expression evaluation error [evaluation ID = 7e51d:51052] in rule 'copypruebaexpenseinfo' : Could not cast from AT Expense Report to AT Expense Information. Details: AT Expense Report cannot be cast to AT Expense Information (APNX-1-4198-000)

Could you help me, please and explaining me what is happening?

Best regards,

    8 replies

    gabriele.camilli
    September 10, 2021

    Hi,

    You seem to be using rv!record incorrectly.

    The sintax should be rv!record[recordtype!RECORD.field]

    You may have a look at this documentations:

    docs.appian.com/.../reference-records.html

    https://docs.appian.com/suite/help/21.2/records-filter-source-data.html

    eddym0001
    eddym0001Author
    September 10, 2021

    Hello,

    I changed the records list 

    but I have this error

    Error Evaluating UI Expression Expression evaluation error [evaluation ID = 92245:714a3] in rule 'copypruebaexpenseinfo' : Could not cast from Number (Integer) to AT Expense Information. Details: CastInvalid (APNX-1-4198-000)

    Could you help me , please?

    BR

    gabriele.camilli
    September 10, 2021

    Do you have a query rule that fetch the whole cdts?

    This way you are sending the ids (type integer) to the interface

    what i would expect is something like:

    solicitud: rule!getSolicitudByfilters(id: AT Expense Report.id)

    expenses: rule!getExpensesByFilters(id:  AT Expense Report.idexpesedet)