Hi everyone
i created a process report of tasks because i want to display on interface on a grid all the tasks of group of people.
now i created all the process report , the constant which point to the process model and in the interface i used the a!queryProcessAnalytics and used the pointer of that process report .
But i have an error and i dont understand it what does it mean ???
Discussion posts and replies are publicly visible
I see two different error messages. One complains about a missing report, the other about a missing context.
The type of context you need to pass depends on the type of report you created. For example, if this is a report with a process context, then you need to pass the list of process models as the context.
my bad , my error is the missing context one
my error is the missing context , can you explain me how i pass the list of process as the context ??? i dont find anything on that
this is sometinh that i need to add in the code ?
Create a constant of type Process Model array and all all the models you want as the context. Then use that constant.
and then in the interface i need to write something like that ??
a!localVariables( local!report: a!queryProcessAnalytics(
report: cons!PA_Bodek_Alvaa_TASK_PROCESS_REPORT_POINTER,
contextProcessModels: cons!PA_TEST_POINTER_process_model ),
Yes
it is not working ?? any idea why ??
That report needs a different type of context.
https://docs.appian.com/suite/help/21.4/Process_Reports.html#process-report-types
You need to provide a context of the same type as in the report configuration.
why ? i assigned a group for that report task
You need to assign this group separately when using queryProcessAnalytics.
So, constant pointing to that group and so on ...