Hello Community,Can someone help what is going wrong here, I am trying this in Appian community edition ? Receiving this error
Expression evaluation error at function 'groupprofilerecordtypesource': The passed parameter(s) are of the wrong type. Received the type com.appiancorp.common.xml.JaxbConversionException: JAXB failure trying to convert typed value TypedValue[it=1474,v={TypedValue[it=1478,v={{{id,id,1}}}],TypedValue[it=1358,v={AND,{}}],{1,1,<null>}}] to java class com.appiancorp.common.query.Query.
groupprofilerecordtypesource( query:a!query( logicalExpression: a!queryLogicalExpression( operator: "AND", filters: {}, ignoreFiltersWithEmptyValues: true() ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 1, sort: a!sortInfo(field: "name",ascending: true) ) ) )
Discussion posts and replies are publicly visible
You can try using the below:
todatasubset( apply( getgroupprofile(_), getallgroups(1,0) ), a!pagingInfo( startIndex: 1, batchSize: 1, sort: a!sortInfo(field: "name",ascending: true) ))