Hi all, I have created process report type as context type -Tasks assigned to group for the lists of tasks assigned to group(abc,mno,xyz). and when I tried to test through the a!queryProcessAnalytics(report:"my report") it is throwing the error that "Empty context passed in for report sg1 [id=46716]. (APNX-1-4156-000)". even though I have given the report context with list of groups.
Can Anyone suggest on this ?
Discussion posts and replies are publicly visible
Can you post your code snippet?
The error is not about the report. It is about the context on which the report is being built. Like the user, groups, or any other thing that you used.
this is how i configured report context with list of groups.
it looks like you passed in a list of groups for the parameter contextUsers - you should probably be passing that list into the parameter contextGroups, which is, of course, a different parameter.
yes I have tried with the context Group, it is giving me the only one group task assigned list that is manager group task lists ,but I want maker ,checker task lists as well,how will i get all these groups assigned tasks
When run like this, the QPA call will return the report data evaluated against all 3 groups passed in. I.E., the back-end data resulting from the call should map exactly 1:1 with what you're seeing in the visual Process Report editor. If it still isn't doing that, then you might have a different issue with your configuration.
What is the nature of the data being returned by your QPA call here which makes you think it's only getting the results for one group?
Okay,how can I made changes in the report ? With the list of tasks assigned to those group users?
to confirm - when you edit the report object itself, what context does it take?
when I edit the report will get this and I have given report context as these groups, Because I need list of tasks assigned to these groups only.
© 2022 Appian. All rights reserved.