Our tenant is currently on Appian cloud version 24.2 and experiencing a real-time aggregation error on a custom record field. When editing the custom record field in the record type view, clicking the 'TEST' button displays the following error: ava.lang.RuntimeException: tvJavaBridge is null
We have tried removing the relationship and re-adding to no avail. Also, testing the rule in an expression also yields the same result (see screenshots below). Any ideas of what we could try to alleviate the issue?
Expression rule testa!queryRecordType( recordType: 'recordType!{d1ef73b7-9b14-4175-a68c-d1dbacf73682}AMF Request Item', fields: a!aggregationFields( measures: a!measure( field:'recordType!{d1ef73b7-9b14-4175-a68c-d1dbacf73682}AMF Request Item.relationships.{f068fd8d-49df-4418-99d0-6a47c2291e38}amfQuote.fields.{5a6e4b91-070f-409f-b115-55670ca04f49}requestItemId', function: "COUNT", alias: "count", filters: a!queryFilter( field: 'recordType!{a9f7f07c-a925-4194-a929-705db4df29ea}AMF Quote.fields.{0a6c0ab8-1386-48ad-8cd9-72c09d52260d}isQuoted', operator: "=", value: true ) ) ), filters: a!queryFilter( field: 'recordType!{d1ef73b7-9b14-4175-a68c-d1dbacf73682}AMF Request Item.fields.{0cbbfa9f-d126-4fe5-add1-1586f6942f21}isActive', operator: "=", value: true ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 100 ) ).data
a!queryRecordType( recordType: 'recordType!{d1ef73b7-9b14-4175-a68c-d1dbacf73682}AMF Request Item', fields: a!aggregationFields( measures: a!measure( field:'recordType!{d1ef73b7-9b14-4175-a68c-d1dbacf73682}AMF Request Item.relationships.{f068fd8d-49df-4418-99d0-6a47c2291e38}amfQuote.fields.{5a6e4b91-070f-409f-b115-55670ca04f49}requestItemId', function: "COUNT", alias: "count", filters: a!queryFilter( field: 'recordType!{a9f7f07c-a925-4194-a929-705db4df29ea}AMF Quote.fields.{0a6c0ab8-1386-48ad-8cd9-72c09d52260d}isQuoted', operator: "=", value: true ) ) ), filters: a!queryFilter( field: 'recordType!{d1ef73b7-9b14-4175-a68c-d1dbacf73682}AMF Request Item.fields.{0cbbfa9f-d126-4fe5-add1-1586f6942f21}isActive', operator: "=", value: true ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 100 ) ).data
Discussion posts and replies are publicly visible
So, Appian support did assist with the investigation but ended up being an issue with group membership at the app level. There was a higher level group that my Appian account needed to be a member of in order to see the records returned. In short, make sure you are in the correct groups in order to see the underlying data associated with the app. The java system error thrown is highly ambiguous and didn't tell us much so we had to poke around and find out how best to troubleshoot. Remember: Check your security groups!
Thank you so much for that update!