Converting PortalReportDataSubset to JSON is not supported

Certified Associate Developer

Hello community members,

I am working on an assignment in a Appian learning path: Skills Practice Solution: Appian as a Service.
A part of the assignment is calling a report from the webapi.

code:

a!localVariables(
local!query: a!queryProcessAnalytics(
report: cons!COLOUR_REPORT,
contextProcessModels: cons!COLOUR_PROCESS_MODEL
),
a!toJson(local!query)

a!toJson(local!query) is used in the body.

But I get error Converting PortalReportDataSubset to JSON is not supported.

It works fine with local!query.data

Has this something to do with the Appian version I am using (19.4) because I followed the directions in the assignment.

Kind Regards,

Erik

  Discussion posts and replies are publicly visible