Hi,
Seeing the following error:
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error in rule 'adv_getaddresses' at function 'type!{urn:com:appian:types:ADV}ADV_Address' (invalid) [line 23]: Invalid function 'type!{urn:com:appian:types:ADV}ADV_Address' due to invalid type
a!localVariables( local!locationsList: rule!ADV_getAddresses(addressId:NULL), { a!sectionLayout( label: "Address", contents: { a!radioButtonField( label: "Radio Buttons", labelPosition: "COLLAPSED", choiceLabels: a!forEach( items: local!locationsList, expression: fv!item.shippingAddress & " " & if(isnull(fv!item.unitNumber), null,"Unit#"& fv!item.unitNumber) & " " & fv!item.city & " , " & fv!item.stateOrProvince & " " & fv!item.postalCode ), choiceValues: local!locationsList, saveInto: {}, choiceLayout: "STACKED", validations: {} ) } ) } )
It calls an Expression Rule, which is as following:
a!localVariables( local!queryResults: a!queryEntity_18r3( entity: cons!ADV_DSE_ADDRESS, query: a!query( paginginfo: a!pagingInfo(1, - 1), logicalExpression: a!queryLogicalExpression( operator: "AND", ignoreFiltersWithEmptyValues: true, filters: { a!queryFilter( field: "addressId", operator: "in", value: ri!addressId ), } ) ) ).data, cast( typeof( { 'type!{urn:com:appian:types:ADV}ADV_Address'() } ), local!queryResults ) )
What could be the issue in the code? Pls kindly help!!
Thanks,Suneetha.
Discussion posts and replies are publicly visible