Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
4 subscribers
Views
1750 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
187632 - no subject - [startIndex=0, batchSize=0, sort=, total
ishaanim
over 8 years ago
[startIndex=0, batchSize=0, sort=, totalCount=0, data=, identifiers=, name=Card Activation Task Report, description=Task report, columnConfigs=, errorMessage=Empty context passed in for report Card Activation Task Report [id=16310]. (APNX-1-4156-000)]
Getting the above error when using the following code:
"a!queryProcessAnalytics(report:cons!TASK_REPORT)"
It is a Task Report and I have set its context process model as well.
OriginalPostID-187632
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 8 years ago
@ishaanim Though you have set the context in the report, you need to set the context again while invoking the a!queryProcessAnalytics() in case of contextProcessModels. This is not true all the times, for instance contextUsers doesn't require a value and a!queryProcessAnalytics() takes the context of the user evaluating the expression. I would like to suggest to go through the 'Notes' section in the documentation at https://forum.appian.com/suite/help/7.11/System_Functions.html#a!queryProcessAnalytics.28.29 which mentions the points discussed above.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 8 years ago
@ishaanim Though you have set the context in the report, you need to set the context again while invoking the a!queryProcessAnalytics() in case of contextProcessModels. This is not true all the times, for instance contextUsers doesn't require a value and a!queryProcessAnalytics() takes the context of the user evaluating the expression. I would like to suggest to go through the 'Notes' section in the documentation at https://forum.appian.com/suite/help/7.11/System_Functions.html#a!queryProcessAnalytics.28.29 which mentions the points discussed above.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data