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
I tried it and doesn't work for me either. That function is no longer listed on the People Functions page so I would assume that it no longer exists.
What are you trying to accomplish?
Thanks Mathieu Drouin for checking,Yes they have removed it from documentation. But it is listed under plugins info in admin console if you install the plugin.I have also checked the plugins source code and the function is available their as well. After the Appian upgrade it is not working and throwing above error.
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) ))