Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

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