how to create an interface which contains process report as a grid view?
I referred the following document:
At first, I successfully made an interface like above example, however the report does not show any data after I changed the context type from “Tasks by owner” to “Tasks by process model”.
Should I set any parameter such as "contextProcessModels" for "a!queryProcessAnalytics()" to show the process report in the interface?
Discussion posts and replies are publicly visible
local!report: a!queryProcessAnalytics( report: cons!REPORT, query: a!query(as your data for your grid.
We have different ones Tasks by owner and 1 with all tasks.
This way some schedulers or admin processes wont show up for users.
You need to make sure the report itself shows you the correct data that you want, i.e. when you open it in the (old-style) Report viewer/editor. Only then should you worry about what you're getting from it via a!queryProcessAnalytics. Assuming this is already satisfied - did you change the context you're passing in for a!queryProcessAnalytics? I believe you're correct in that you'd need to change the "context..." you're passing in, which would depend on your particular use case.
© 2022 Appian. All rights reserved.